Vim normal.c command execution
| vim-normal-command-execution (44626) |
Description:
Vim could allow a remote attacker to execute arbitrary commands on the system. Certain characters are not properly escaped. By persuading a victim to enter a "K" keystroke on a line that contains a ";" followed by a command, or by entering an argument after a "Ctrl-]" or "g]" keystroke sequence, a remote attacker could execute arbitrary commands with elevated privileges.
*CVSS:
| Base Score: | 4 |
| Access Vector: | Network |
| Access Complexity: | High |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 3.1 |
| Exploitability: | Proof-of-Concept |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of Apple Mac OS X (10.5.5 or later), available from the Apple Web site. See References.
For other distributions:
Apply the appropriate update for your system. See References.
References:
- Apple Web site: About Security Update 2008-007 .
- Apple Web site: About the security content of Security Update 2010-002 / Mac OS X v10.6.3.
- Google Groups, vin_dev, Aug 19, 11:38 pm: Bug with v_K and potentially K command.
- rdancer Advisories, 2008-08-20: Arbitrary Code Execution in Commands: K, Control-], g].
- Vim Web site: welcome home : vim online.
- VMSA-2009-0004: ESX Service Console updates for openssl, bind, and vim.
- ASA-2008-457: vim security update (RHSA-2008-0618)
- ASA-2009-001: vim security update (RHSA-2008-0617)
- BID-30795: Vim Insufficient Shell Escaping Multiple Command Execution Vulnerabilities
- BID-31681: RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
- CVE-2008-4101: Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ; (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) Ctrl-] (control close-square-bracket) or (3) g] (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
- DSA-1733: vim -- several vulnerabilities
- MDVSA-2008:236: vim
- MDVSA-2008:236-1: vim
- RHSA-2008-0580: Moderate: vim security update
- RHSA-2008-0617: Moderate: vim security update
- RHSA-2008-0618: Moderate: vim security update
- SA31592: Vim Shell Command Injection Weaknesses
- SA32222: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA33410: Avaya Products Vim Multiple Vulnerabilities
- USN-712-1: Vim vulnerabilities
- VUPEN/ADV-2008-2780: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
- VUPEN/ADV-2009-0033: Avaya Products Vim Data Handling Code Execution Vulnerabilities
- VUPEN/ADV-2009-0904: VMware ESX Multiple Code Execution and Security Bypass Issues
Platforms Affected:
- 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 10.5.5
- Apple Mac OS X 10.5.8
- 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
- Apple Mac OS X Server 10.5.5
- Apple Mac OS X Server 10.5.8
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 7.10
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- MandrakeSoft Mandrake Multi Network Firewall 2.0
- Mandriva Linux 2009.0
- Mandriva Linux 2009.0 X86_64
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client
- RedHat Linux Advanced Workstation 2.1 Itanium
- Vim Vim 3.0
- Vim Vim 4.0
- Vim Vim 5.0
- Vim Vim 5.1
- Vim Vim 5.2
- Vim Vim 5.3
- Vim Vim 5.4
- Vim Vim 5.5
- Vim Vim 5.6
- Vim Vim 5.7
- Vim Vim 5.8
- Vim Vim 6.0
- Vim VIM 6.1
- Vim Vim 6.2
- Vim Vim 6.3
- Vim Vim 6.4
- Vim Vim 7.0
- Vim Vim 7.1
- Vim Vim 7.2
- VMware ESX Server 2.5.5
- VMware ESX Server 3.0.2
- VMware ESX Server 3.0.3
- VMware ESX Server 3.5
Reported:
Aug 19, 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.
