OpenSSH sshd session hijacking

openssh-sshd-session-hijacking (41438) The risk level is classified as MediumMedium Risk

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.

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
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • 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 SPARC
  • Sun, Solaris 10 x86
  • Sun, Solaris 9 SPARC
  • Sun, Solaris 9 x86

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.

Consequences:

Other

References:

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

Return to the main page