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:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Canonical, Ubuntu 7.10
  • 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, z OS
  • Mandriva, Corporate Server 3.0 X86_64
  • Mandriva, Corporate Server 3.0
  • Mandriva, Corporate Server 4.0 X86_64
  • Mandriva, Corporate Server 4.0
  • Mandriva, Linux 2007
  • Mandriva, Linux 2007 X86_64
  • Mandriva, Linux 2007.1 X86_64
  • Mandriva, Linux 2007.1
  • Mandriva, Linux 2008.0 X86_64
  • Mandriva, Linux 2008.0
  • Mandriva, Multi Network Firewall 2.0
  • OpenBSD, OpenSSH 4.3p2
  • OpenBSD, OpenSSH 4.7p1
  • SourceForge, cwsync prior to 2.1.2
  • 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 (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.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page