FreeBSD kernel openpty() information disclosure
| freebsd-openpty-information-disclosure (39665) |
Description:
The FreeBSD kernel could allow a local attacker to obtain sensitive information, caused by an implementation error in the openpty() function when the permissions are set for opened pseudo terminals. By executing a program that calls the openpty() function internally, a local attacker could exploit this vulnerability to read the text from the pseudo terminal opened by a non-root user and obtain sensitive information.
Platforms Affected:
- FreeBSD, FreeBSD 5.0
Remedy:
Refer to FreeBSD-SA-08:01.pty for patch or upgrade information. See References.
Consequences:
Obtain Information
References:
- FreeBSD-SA-08:01.pty , pty snooping at http://security.freebsd.org/advisories/FreeBSD-SA-08:01.pty.asc.
- BID-27284: FreeBSD pty Handling Multiple Local Information Disclosure Vulnerabilities
- CVE-2008-0217: The script program in FreeBSD 5.0 through 7.0-PRERELEASE invokes openpty, which creates a pseudo-terminal with world-readable and world-writable permissions when it is not run as root, which allows local users to read data from the terminal of the user running script.
- SA28498: FreeBSD pty Snooping Vulnerabilities
- SECTRACK ID: 1019191: FreeBSD pty May Disclose Information to Local Users
Reported:
Jan 14, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
