Vim mch_expand_wildcards() buffer overflow
| vim-mchexpandwildcards-bo (44722) |
Description:
Vim is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the mch_expand_wildcards() function. By persuading a victim to open a specially-crafted file or directory with a malformed name, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
*CVSS:
| Base Score: | 6.8 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
Upgrade to the latest version of Vim (6.3.059 or later), available from the Vim 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 .
- Red Hat Bugzilla Bug 455455: CVE-2008-3432 vim: heap buffer overflow in mch_expand_wildcards().
- Vim Web site: welcome home : vim online.
- VMSA-2009-0004: ESX Service Console updates for openssl, bind, and vim.
- ASA-2009-001: vim security update (RHSA-2008-0617)
- BID-30648: Vim 'mch_expand_wildcards()' Heap Based Buffer Overflow Vulnerability
- BID-31681: RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
- CVE-2008-3432: Heap-based buffer overflow in the mch_expand_wildcards function in os_unix.c in Vim 6.2 and 6.3 allows user-assisted attackers to execute arbitrary code via shell metacharacters in filenames, as demonstrated by the netrw.v3 test case.
- RHSA-2008-0617: Moderate: vim security update
- SA32222: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SA33410: Avaya Products Vim Multiple 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 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
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- Vim Vim 6.2.429
- Vim Vim 6.3
- Vim Vim 6.3.58
- VMware ESX Server 2.5.5
- VMware ESX Server 3.0.2
- VMware ESX Server 3.0.3
- VMware ESX Server 3.5
Reported:
Jul 15, 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.
