Two vulnerabilities have been identified in FreeBSD, which could be exploited by malicious users to bypass security restrictions and gain knowledge of sensitive information.
The first issue is caused by an error in "openpty" when called by non-root users, which could cause the newly created pseudo-terminal to be world readable and writeable.
The second vulnerability is caused by an error in the "ptsname()" function when extracting characters from the name of a device node in "/dev", which could be exploited by malicious users to read the content of the pty from another user.
Credits
Vulnerabilities reported by John Baldwin.
ChangeLog
2008-01-16 : Initial release
Vulnerability Management
Subscribe to FrSIRT VNS and receive real-time e-mail and SMS alerts when new vulnerabilities, exploits, or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form or by email to updates@frsirt.com.