OpenSSH X11 forwarding information disclosure

openssh-x11forwarding-info-disclosure (43940) The risk level is classified as LowLow Risk

Description:

OpenSSH could allow a local attacker to obtain sensitive information, caused by an error when binding to previously bound ports that have the SO_REUSEADDR option enabled and the sshd_config X11UseLocalhost option set to no. An attacker could exploit this vulnerability via man-in-the-middle techniques to obtain sensitive information on systems where effective user-id or overlapping bind address checks are not present.

Platforms Affected:

  • OpenBSD, OpenSSH 1
  • 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 1.3
  • OpenBSD, OpenSSH 1.5
  • OpenBSD, OpenSSH 1.5.7
  • OpenBSD, OpenSSH 1.5.8
  • OpenBSD, OpenSSH 2
  • OpenBSD, OpenSSH 2.1
  • OpenBSD, OpenSSH 2.1.1
  • OpenBSD, OpenSSH 2.2
  • OpenBSD, OpenSSH 2.2.0
  • OpenBSD, OpenSSH 2.3
  • OpenBSD, OpenSSH 2.3.0
  • OpenBSD, OpenSSH 2.3.1
  • OpenBSD, OpenSSH 2.5
  • OpenBSD, OpenSSH 2.5.1
  • OpenBSD, OpenSSH 2.5.2
  • OpenBSD, OpenSSH 2.9
  • OpenBSD, OpenSSH 2.9.9
  • 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.1
  • OpenBSD, OpenSSH 3.2.2
  • OpenBSD, OpenSSH 3.2.2p1
  • 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
  • OpenBSD, OpenSSH 4.0
  • OpenBSD, OpenSSH 4.0p1
  • OpenBSD, OpenSSH 4.1
  • 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.5
  • OpenBSD, OpenSSH 4.6
  • OpenBSD, OpenSSH 4.7
  • OpenBSD, OpenSSH 4.8
  • OpenBSD, OpenSSH 4.9
  • OpenBSD, OpenSSH 5.0

Remedy:

Upgrade to the latest version of OpenSSH (5.1 or later), available from the OpenSSH Web site. See References.

Consequences:

Obtain Information

References:

  • OpenSSH Changelog, Release 5.1, Changes since OpenSSH 5.0 at http://www.openssh.com/txt/release-5.1.
  • OpenSSH Web site, OpenSSH Security at http://openssh.com/security.html.
  • OpenSSH Web site, OpenSSH at http://openssh.com/.
  • BID-30339: OpenSSH 'X11UseLocalhost' X11 Forwarding Session Hijacking Vulnerability
  • CVE-2008-3259: OpenSSH before 5.1 sets the SO_REUSEADDR socket option when the X11UseLocalhost configuration setting is disabled, which allows local users on some platforms to hijack the X11 forwarding port via a bind to a single IP address, as demonstrated on the HP-UX platform.
  • SA31179: OpenSSH "X11UseLocalhost" X11 Forwarding Security Issue
  • SECTRACK ID: 1020537: OpenSSH on HP-UX Lets Local Users Hijack X11 Sessions
  • VUPEN/ADV-2008-2148: OpenSSH X11UseLocalhost X11 Forwarding Session Hijacking Issue

Reported:

Jul 21, 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

Return to the main page