Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


FreeBSD pty Snooping Vulnerabilities Advisory Available in German 

Secunia Advisory: SA28498  
Release Date: 2008-01-15

Critical:
Less critical
Impact: Exposure of sensitive information
Where: Local system
Solution Status: Vendor Patch

OS:FreeBSD 5.x
FreeBSD 6.x


CVE reference:CVE-2008-0216 (Secunia mirror)
CVE-2008-0217 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


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



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.

105 Related Secunia Security Advisories, displaying 10

1. FreeBSD update for bind
2. FreeBSD update for OpenSSH
3. FreeBSD "strfmon()" Multiple Integer Overflows
4. FreeBSD ppp Buffer Overflow Vulnerability
5. FreeBSD update for ipsec
6. FreeBSD "sendfile" Information Disclosure Security Issue
7. FreeBSD "inet_network()" Off-By-One Vulnerability
8. FreeBSD sys_dev_random Random Data Replay Vulnerability
9. FreeBSD update for gtar
10. FreeBSD update for openssl

Show all related advisories


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Red Hat update for vsftpd
2.
Red Hat update for rdesktop
3.
Red Hat update for rdesktop
4.
Red Hat update for coreutils
5.
Red Hat update for nss_ldap
6.
Red Hat update for kernel
7.
Red Hat update for mysql
8.
OpenBSD BIND Query Port DNS Cache Poisoning
9.
Atom PhotoBlog "photoId" SQL Injection Vulnerability
10.
Debian update for clamav





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia