Vim 6.2/6.3 os_unix.c mch_expand_wildcards memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in Vim 6.2/6.3. This issue affects the function mch_expand_wildcards of the file os_unix.c. Such manipulation leads to memory corruption. This vulnerability is traded as CVE-2008-3432. Furthermore, there is an exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Vim 6.2/6.3 (Word Processing Software). Affected by this issue is the function mch_expand_wildcards of the file os_unix.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was shared 10/10/2008 by TippingPoint with TippingPoint's Zero Day Initiative (Website). The advisory is shared for download at securityfocus.com. This vulnerability is handled as CVE-2008-3432 since 07/31/2008. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.

The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 49167 (FreeBSD : vim6 -- heap-based overflow while parsing shell metacharacters (f866d2af-bbba-11df-8a8d-0008743bf21a)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 117223 (CentOS Security Update for Vim (CESA-2008:0617)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 years after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (44722), Exploit-DB (32225), Tenable (49167), SecurityFocus (BID 31681†) and OSVDB (51436†). The entries VDB-36812, VDB-40924, VDB-40923 and VDB-40487 are related to this item. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 49167
Nessus Name: FreeBSD : vim6 -- heap-based overflow while parsing shell metacharacters (f866d2af-bbba-11df-8a8d-0008743bf21a)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 67993
OpenVAS Name: FreeBSD Ports: vim6, vim6+ruby
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

07/31/2008 🔍
10/09/2008 +70 days 🔍
10/10/2008 +1 days 🔍
10/10/2008 +0 days 🔍
10/10/2008 +0 days 🔍
10/19/2008 +9 days 🔍
11/25/2008 +37 days 🔍
09/09/2010 +653 days 🔍
09/09/2010 +0 days 🔍
03/17/2015 +1650 days 🔍
01/03/2025 +3580 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Researcher: TippingPoint
Organization: TippingPoint's Zero Day Initiative
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-3432 (🔍)
GCVE (CVE): GCVE-0-2008-3432
GCVE (VulDB): GCVE-100-44444

OVAL: 🔍

X-Force: 44722
SecurityFocus: 31681 - RETIRED: Apple Mac OS X 2008-007 Multiple Security Vulnerabilities
Secunia: 32858
OSVDB: 51436 - Vim os_unix.c mch_expand_wildcards Function Filename Metacharacter Arbitrary Command Execution
Vulnerability Center: 19763 - Vim 6.2 and 6.3 os_unix.c mch_expand_wildcards Function User-Assisted Remote Code Execution, Medium
Vupen: ADV-2008-2780

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 01/03/2025 20:08
Changes: 03/17/2015 16:11 (82), 08/19/2019 06:50 (4), 01/03/2025 20:08 (22)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!