FreeBSD kernel openpty() information disclosure
|freebsd-openpty-information-disclosure (39665)||Low Risk|
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.
Refer to FreeBSD-SA-08:01.pty for patch or upgrade information. See References.
- FreeBSD-SA-08:01.pty : pty snooping.
- 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.
- OSVDB ID: 40813: FreeBSD script openpty Information Disclosure
- SA28498: FreeBSD pty Snooping Vulnerabilities
- SECTRACK ID: 1019191: FreeBSD pty May Disclose Information to Local Users
- FreeBSD FreeBSD 5.0
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.