Title: Multiple Linux Vendor man Buffer Overrun Vulnerability
Severity: LOW
Description:
A buffer overflow exists in the implementation of the 'man' program shipped with RedHat Linux, and other LInux vendors. By carefully crafting a long buffer of machine executable code, and placing it in the MANPAGER environmental variable, it becomes possible for a would be attacker to gain egid man.
Using attacks previously outlined by Pawel Wilk, and available in the reference portion of the credit section, it is possible for an attacker to alter manpages such that code will be executed. Upon looking up an altered manpage, code will be executed with the privileges of the person running man. If this person is the root user, root privileges can be obtained.
Affected Products:
- RedHat Linux 4.0.0
- RedHat Linux 4.1.0
- RedHat Linux 4.2.0
- RedHat Linux 5.0.0
- RedHat Linux 5.1.0
- RedHat Linux 5.2.0 i386
- RedHat Linux 6.0.0
- RedHat Linux 6.1.0 alpha
- RedHat Linux 6.1.0 i386
- RedHat Linux 6.1.0 sparc
- RedHat Linux 6.2.0 i386
- RedHat man 1.5.0g-6.alpha
- RedHat man 1.5.0g-6.i386
- RedHat man 1.5.0g-6.sparc
- Turbolinux Turbolinux 3.5.0b2
- Turbolinux Turbolinux 4.2.0
- Turbolinux Turbolinux 4.4.0
- Turbolinux Turbolinux 6.0.2
- Turbolinux man 1.5.0g-5
References:
- RedHat: Updates, Fixes, and Errata Page
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.