OpenSSH sshd session hijacking
| openssh-sshd-session-hijacking (41438) |
Description:
OpenSSH could allow a local authenticated attacker to hijack forwarded X11 sessions, caused by an error in sshd when setting the DISPLAY environment variable. By listening to the same port used to forward the X11 session, a local attacker could obtain the MIT-MAGIC-COOKIE and hijack other user's sessions.
*CVSS:
| Base Score: | 1.5 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | Single |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 1.2 |
| Exploitability: | Proof-of-Concept |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Other
Remedy:
For Globus Toolkit GSI:
Upgrade to the latest version of Globus Toolkit GSI (4.3 or later), available from the GSI-OpenSSH Bundle Web page. See References.
For cwrsync:
Upgrade to the latest version of cwrsync (2.12 or later), available from SourceForge.net. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About the security content of Mac OS X v10.5.5 and Security Update 2008-006 .
- Attachmate Technical Note 2374: Reflection for Secure IT UNIX Client and Server 7.0 Service Pack 1 (SP1): Fixes and Features.
- Debian Bug report logs - #463011: ssh: unprivileged users may hijack forwarded X connections by listening on port 6010.
- GSI-OpenSSH Bundle Web page: Downloading the GSI-Enabled OpenSSH Bundle.
- HPSBUX02337 SSRT080072 rev.1: HP-UX Running HP-UX Secure Shell, Local Unauthorized Access and Denial of Service (DoS.
- IBM APAR OA25412: OA25412: DOC UPDATE FOR "IBM PORTED TOOLS FOR Z/OS" OPENSSH 5655M2301.
- OpenSSH Web site : OpenSSH.
- SourceForge.net: cwrsync.
- Sun Alert ID: 237444: Security Vulnerability in Solaris SSH May Allow Unauthorized Access to X11 Sessions .
- ASA-2008-205: Security Vulnerability in Solaris SSH May Allow Unauthorized Access to X11 Sessions (Sun 237444)
- ASA-2008-229: HPSBUX02337 SSRT080072 rev.1 - HP-UX Running HP-UX Secure Shell Local Unauthorized Access and Denial of Service (DoS)
- BID-28444: OpenSSH X Connections Session Hijacking Vulnerability
- BID-30723: Attachmate Reflection for Secure IT Multiple Unspecified Security Vulnerabilities
- CVE-2008-1483: OpenSSH 4.3p2, and probably other versions, allows local users to hijack forwarded X connections by causing ssh to set DISPLAY to :10, even when another process is listening on the associated port, as demonstrated by opening TCP port 6010 (IPv4) and sniffing a cookie sent by Emacs.
- DSA-1576: openssh -- predictable random number generator
- GLSA-200804-03: OpenSSH: Privilege escalation
- MDVSA-2008:078: Updated openssh packages fix X connection hijacking
- SA29522: OpenSSH X11 Forwarding Information Disclosure Vulnerability
- SA29686: cwRsync OpenSSH Security Bypass and Information Disclosure
- SA29721: Globus Toolkit GSI-OpenSSH Information Disclosure
- SA30086: Sun Solaris SSH X11 Forwarding Vulnerability
- SA30230: Avaya CMS Solaris SSH X11 Forwarding Vulnerability
- SA30347: HP-UX Secure Shell Unauthorized Access Vulnerability
- SA31531: Reflection for Secure IT Multiple Vulnerabilities
- SA31882: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1019707: OpenSSH Lets Local Users Hijack Forwarded X Sessions in Certain Cases
- SUSE-SR:2008:009: SUSE Security Summary Report
- USN-597-1: OpenSSH vulnerability
- VUPEN/ADV-2008-0994: OpenSSH Forwarded X Connection Information Disclosure Vulnerability
- VUPEN/ADV-2008-1123: Globus Toolkit and GSI-OpenSSH Information Disclosure Issue
- VUPEN/ADV-2008-1124: cwRsync Security Update Fixes OpenSSH Multiple Local Vulnerabilities
- VUPEN/ADV-2008-1448: Sun Solaris Security Update Fixes OpenSSH Information Disclosure
- VUPEN/ADV-2008-1526: Avaya IR Solaris OpenSSH Information Disclosure Weakness
- VUPEN/ADV-2008-1624: IBM AIX Security Update Fixes OpenSSH Multiple Local Vulnerabilities
- VUPEN/ADV-2008-1630: HP-UX Secure Shell Forwarded X Connection Security Bypass
- VUPEN/ADV-2008-2396: Reflection for Secure IT UNIX Security Bypass and DoS Vulnerabilities
- VUPEN/ADV-2008-2584: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.4.11
- Apple Mac OS X 10.5
- Apple Mac OS X 10.5.1
- Apple Mac OS X 10.5.2
- Apple Mac OS X 10.5.3
- Apple Mac OS X 10.5.4
- Apple Mac OS X Server 10.4.11
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Apple Mac OS X Server 10.5.2
- Apple Mac OS X Server 10.5.3
- Apple Mac OS X Server 10.5.4
- Attachmate Reflection for Secure IT 7.0 SP1
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- cwsync cwsync prior to 2.1.2
- Debian Debian Linux 4.0
- Gentoo Linux
- Globus Project and Globus Toolkit Globus Toolkit 4.0.0 - 4.0.7
- Globus Project and Globus Toolkit Globus Toolkit 4.1.0 - 4.1.3
- HP HP-UX B.11.11
- HP HP-UX B.11.23
- HP HP-UX B.11.31
- IBM zOS
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 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 4.3p2
- OpenBSD OpenSSH 4.7p1
- Sun Solaris 10 x86
- Sun Solaris 10 SPARC
- Sun Solaris 9 x86
- Sun Solaris 9 SPARC
Reported:
Jan 28, 2008
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.
