OpenSSH ForceCommand directive command execution

openssh-forcecommand-command-execution (41549) The risk level is classified as HighHigh Risk

Description:

OpenSSH could allow a local attacker to execute arbitrary commands on the system, caused by an error when using the shd_config ForceCommand directive. An attacker could exploit this vulnerability via ~/.ssh/rc to execute arbitrary commands on the system.

Platforms Affected:

  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0
  • MandrakeSoft, Mandrake Linux 2008.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.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 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.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.4p1
  • OpenBSD, OpenSSH 4.5
  • OpenBSD, OpenSSH 4.5p1
  • OpenBSD, OpenSSH 4.6
  • OpenBSD, OpenSSH 4.6p1
  • OpenBSD, OpenSSH 4.7
  • OpenBSD, OpenSSH 4.7p1
  • OpenBSD, OpenSSH 4.9
  • Turbolinux, Turbolinux 11 Server
  • Turbolinux, Turbolinux 11 Server x64 Ed

Remedy:

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

Consequences:

Gain Privileges

References:

Reported:

Mar 30, 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