OpenSSH X11 cookie privilege escalation
| openssh-x11cookie-privilege-escalation (36637) |
Description:
OpenSSH could allow a remote attacker on the adjacent network to gain elevated privileges. Trusted X11 cookies are created when untrusted cookies cannot be created, which could allow an attacker to bypass security restrictions and gain elevated privileges using an untrusted X client.
*CVSS:
| Base Score: | 5.8 |
| Access Vector: | Adjacent Network |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 4.3 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of OpenSSH (4.7 or later), available from the OpenSSH Web site. See References.
For rPath Linux:
Refer to rPath Linux Issue RPL-1706 for patch, upgrade, or suggested workaround information. See References.
For Mac OS X:
Apply Security Update 2008-002, available from the Apple Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About Security Update 2008-002.
- BugTraq Mailing List, Mon Nov 12 2007 - 13:57:33 CST: HPSBUX02287 SSRT071485 rev.1 - HP-UX Running HP Secure Shell, Remotely Gain Extended Privileges.
- ESB-2008.0123: AIX OpenSSH creates trusted X11 cookie instead of untrusted.
- IBM APAR OA25412: OA25412: DOC UPDATE FOR "IBM PORTED TOOLS FOR Z/OS" OPENSSH 5655M2301.
- OpenSSH Web site: OpenSSH.
- OpenSSH Web site: OpenSSH 4.7/4.7p1.
- OpenSSH Web site: OpenSSH 4.7 Release notes: Prevent ssh(1) from using a trusted X11 cookie if creation of an untrusted cookie fails.
- rPath Linux Issue RPL-1706: openssh uses a trusted X11cookie if creation of an untrusted cookie fails CVE-2007-4752.
- ASA-2007-497: HP-UX Running HP Secure Shell, Remotely Gain Extended Privileges (HPSBUX02287)
- ASA-2008-399: openssh security update (RHSA-2008-0855)
- BID-25628: OpenSSH X11 Cookie Local Authentication Bypass Vulnerability
- CVE-2007-4752: ssh in OpenSSH before 4.7 does not properly handle when an untrusted cookie cannot be created and uses a trusted X11 cookie instead, which allows attackers to violate intended policy and gain privileges by causing an X client to be treated as trusted.
- DSA-1576: openssh -- predictable random number generator
- GLSA-200711-02: OpenSSH: Security bypass
- MDKSA-2007:236: Updated openssh packages fix X11 cookie vulnerability
- RHSA-2008-0855: Critical: openssh security update
- SA29420: Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA32241: Avaya Products Red Hat Tampered OpenSSH Packages
- SUSE-SR:2007:022: SUSE Security Summary Report
Platforms Affected:
- Apple Mac OS X 10.4.11
- Apple Mac OS X 10.5.2
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.5.2
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- Debian Debian Linux 4.0
- Gentoo Linux
- HP HP-UX B.11.11
- HP HP-UX B.11.23
- HP HP-UX B.11.31
- IBM AIX 5.2
- IBM AIX 5.3
- IBM AIX 6.1
- IBM zOS
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- OpenBSD OpenSSH 1.2
- OpenBSD OpenSSH 1.2.1
- OpenBSD OpenSSH 1.2.2
- OpenBSD OpenSSH 1.2.27
- OpenBSD OpenSSH 1.2.3
- OpenBSD OpenSSH 2.1
- OpenBSD OpenSSH 2.1.1
- OpenBSD OpenSSH 2.1.1p4
- OpenBSD OpenSSH 2.2
- OpenBSD OpenSSH 2.2.0p1
- OpenBSD OpenSSH 2.3
- OpenBSD OpenSSH 2.3.0p1
- OpenBSD OpenSSH 2.5
- OpenBSD OpenSSH 2.5.1
- OpenBSD OpenSSH 2.5.1p1
- OpenBSD OpenSSH 2.5.1p2
- OpenBSD OpenSSH 2.5.2
- OpenBSD OpenSSH 2.5.2p1
- OpenBSD OpenSSH 2.5.2p2
- OpenBSD OpenSSH 2.9
- OpenBSD OpenSSH 2.9.9
- OpenBSD OpenSSH 2.9.9p1
- OpenBSD OpenSSH 2.9.9p2
- OpenBSD OpenSSH 2.9p1
- OpenBSD OpenSSH 2.9p2
- OpenBSD OpenSSH 3.0
- OpenBSD OpenSSH 3.0.1
- OpenBSD OpenSSH 3.0.1p1
- OpenBSD OpenSSH 3.0.2
- OpenBSD OpenSSH 3.0.2p1
- OpenBSD OpenSSH 3.0p1
- OpenBSD OpenSSH 3.1
- OpenBSD OpenSSH 3.1p1
- OpenBSD OpenSSH 3.2
- OpenBSD OpenSSH 3.2.2
- OpenBSD OpenSSH 3.2.2p1
- OpenBSD OpenSSH 3.2.3
- OpenBSD OpenSSH 3.2.3p1
- OpenBSD OpenSSH 3.3
- OpenBSD OpenSSH 3.3p1
- OpenBSD OpenSSH 3.4
- OpenBSD OpenSSH 3.4p1
- OpenBSD OpenSSH 3.5
- OpenBSD OpenSSH 3.5p1
- OpenBSD OpenSSH 3.6
- OpenBSD OpenSSH 3.6.1
- OpenBSD OpenSSH 3.6.1p1
- OpenBSD OpenSSH 3.6.1p2
- OpenBSD OpenSSH 3.7
- OpenBSD OpenSSH 3.7.1
- OpenBSD OpenSSH 3.7.1p1
- OpenBSD OpenSSH 3.7.1p2
- OpenBSD OpenSSH 3.8
- OpenBSD OpenSSH 3.8.1
- OpenBSD OpenSSH 3.8.1p1
- OpenBSD OpenSSH 3.9
- OpenBSD OpenSSH 3.9.1
- OpenBSD OpenSSH 3.9.1p1
- OpenBSD OpenSSH 4.0
- OpenBSD OpenSSH 4.0p1
- OpenBSD OpenSSH 4.1p1
- OpenBSD OpenSSH 4.2
- OpenBSD OpenSSH 4.2p1
- OpenBSD OpenSSH 4.3
- OpenBSD OpenSSH 4.3p1
- OpenBSD OpenSSH 4.3p2
- OpenBSD OpenSSH 4.4
- OpenBSD OpenSSH 4.4p1
- OpenBSD OpenSSH 4.5
- OpenBSD OpenSSH 4.5p1
- OpenBSD OpenSSH 4.6
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4.5.z ES
- RedHat Enterprise Linux 4.5.z AS
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Sep 11, 2007
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 xforce@iss.net
* 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.
