|
FreeBSD pty Snooping Vulnerabilities
|
|
Secunia Advisory:
|
SA28498
|
|
|
Release Date:
|
2008-01-15
|
|
Popularity:
|
4,962 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
Exposure of sensitive information
|
|
Where:
|
Local system
|
|
Solution Status:
|
Vendor Patch
|
|
| OS: | FreeBSD 5.x FreeBSD 6.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
| | CVE reference: | CVE-2008-0216 CVE-2008-0217
|
|
Description: Some vulnerabilities have been reported in FreeBSD, which can be exploited by malicious, local users to disclose sensitive information.
1) An error exists within the implementation of the "openpty()" function when setting permissions for opened pseudo terminals. This can be exploited by malicious, local users to read text from a pty opened by a non root user by executing a program which internally calls "openpty()" (e.g. "script").
The vulnerability affects FreeBSD 5.0 and later.
2) An error exists within the implementation of the "ptsname()" function. This can be exploited by malicious, local users to obtain the ownership of a normally restricted pty by executing pt_chown.
Successful exploitation requires that the attacker has read access on a device node with a name containing the name of the snooped pty.
The vulnerability affects FreeBSD 6.0 and later.
Solution: Update FreeBSD or apply patches.
2008-01-14 22:57:45 UTC (RELENG_7, 7.0-PRERELEASE)
2008-01-14 22:55:54 UTC (RELENG_7_0, 7.0-RC2)
2008-01-14 22:56:05 UTC (RELENG_6, 6.3-PRERELEASE)
2008-01-14 22:56:18 UTC (RELENG_6_3, 6.3-RELEASE)
2008-01-14 22:56:44 UTC (RELENG_6_2, 6.2-RELEASE-p10)
2008-01-14 22:56:56 UTC (RELENG_6_1, 6.1-RELEASE-p22)
2008-01-14 22:57:06 UTC (RELENG_5, 5.5-STABLE)
2008-01-14 22:57:19 UTC (RELENG_5_5, 5.5-RELEASE-p18)
Patches (FreeBSD 5.5, 6.1, 6.2, 6.3, and 7.0):
-- FreeBSD 5.5 --
http://security.FreeBSD.org/patches/SA-08:01/pty5.patch
http://security.FreeBSD.org/patches/SA-08:01/pty5.patch.asc
-- FreeBSD 6.x --
http://security.FreeBSD.org/patches/SA-08:01/pty6.patch
http://security.FreeBSD.org/patches/SA-08:01/pty6.patch.asc
-- FreeBSD 7.0 --
http://security.FreeBSD.org/patches/SA-08:01/pty7.patch
http://security.FreeBSD.org/patches/SA-08:01/pty7.patch.asc
Provided and/or discovered by: The vendor credits John Baldwin.
Original Advisory: http://security.freebsd.org/advisories/FreeBSD-SA-08:01.pty.asc
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
21st Nov, 2008
|
New advisories:
|
12 |
|
New vulnerabilities:
|
46 |
|
Updated advisories:
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Solutions | More...
|
|