Mac OS X < 10.4 pty Permission Weakness

This script is Copyright (C) 2005-2013 Tenable Network Security, Inc.


Synopsis :

The remote version of the operating system contains a vulnerability
which has been patched by the vendor in a newer release of the
system

Description :

The remote host is running a version of Mac OS X which is older than
version 10.4.

Versions older than 10.4 contain a security issue in the way they handle
the permissions of pseudo terminals.

When an application uses a new pseudo terminal, it can not restrict its
permissions to a safe mode. As a result, every created pseudo terminal
has permissions 0666 set, which allows a local attacker to sniff the session
of other users.

See also :

http://www.securityfocus.com/archive/1/397306

Solution :

Upgrade to Mac OS X 10.4 or newer.

Risk factor :

Medium / CVSS Base Score : 6.6
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:N)
CVSS Temporal Score : 6.6
(CVSS2#E:H/RL:U/RC:ND)
Public Exploit Available : true

Family: MacOS X Local Security Checks

Nessus Plugin ID: 18352 (macosx_10_4.nasl)

Bugtraq ID: 13467

CVE ID: CVE-2005-1430