OpenSSH ForceCommand directive command execution
| openssh-forcecommand-command-execution (41549) |
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.
*CVSS:
| Base Score: | 4.6 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.4 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of OpenSSH (4.9 or later), available from the OpenSSH Web site. 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.
- OpenBSD 4.3 errata : 001: SECURITY FIX: March 30, 2008.
- OpenSSH Changelog, Release 4.7: Changes since OpenSSH 4.7.
- OpenSSH Web site: OpenSSH.
- BID-28531: OpenSSH ForceCommand Command Execution Weakness
- BID-30723: Attachmate Reflection for Secure IT Multiple Unspecified Security Vulnerabilities
- CVE-2008-1657: OpenSSH 4.4 up to versions before 4.9 allows remote authenticated users to bypass the sshd_config ForceCommand directive by modifying the .ssh/rc session file.
- GLSA-200804-03: OpenSSH: Privilege escalation
- MDVSA-2008:098: Updated openssh packages fix vulnerability
- SA29602: OpenSSH ForceCommand Bypass Weakness
- SA29609: OpenBSD OpenSSH ForceCommand Bypass Weakness
- SA31531: Reflection for Secure IT Multiple Vulnerabilities
- SA31882: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1019733: OpenSSH Unsafe Default Configuration May Let Local Users Execute Arbitrary Commands
- SUSE-SR:2008:009: SUSE Security Summary Report
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 7.04
- Canonical Ubuntu 7.10
- Gentoo Linux
- 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 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
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 (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.
