J-Security Center

Title: W3M Malformed MIME Header Buffer Overflow Vulnerability

Severity: HIGH

Description:

W3M is a pager/text-based WWW browser similar to lynx.

The 'w3m' client program contains a boundary condition error in its handling of HTTP header fields.

A buffer overflow can occur when a base64-encoded string is received in a MIME header field. The string is copied into an internal buffer without performing bounds checking. If the string exceeeds approximately 32 characters in length, the extraneous data overwrites neighbouring memory.

If successful, an attacker can have arbitrary code executed with the privileges of the user running the w3m client.

Affected Products:

  • Conectiva Linux 5.0.0
  • Conectiva Linux 5.1.0
  • Conectiva Linux 6.0.0
  • Conectiva Linux 7.0.0
  • RedHat Linux 7.0.0
  • RedHat Linux 7.0.0 i386
  • RedHat Linux 7.2.0
  • RedHat Linux 7.2.0 i386
  • RedHat Linux 7.2.0 ia64
  • W3M W3M 0.1.10
  • W3M W3M 0.1.3
  • W3M W3M 0.1.4
  • W3M W3M 0.1.6
  • W3M W3M 0.1.7
  • W3M W3M 0.1.8
  • W3M W3M 0.1.9
  • W3M W3M 0.2.0
  • W3M W3M 0.2.1

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.