CVE-2008-6235 Command injection in n/a
Attackers can execute arbitrary commands via shell metacharacters in filenames within the Vim Netrw plugin, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2008-6235?
CVE-2008-6235 is a critical command injection vulnerability in Vim Vim, published on 21 Feb 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The Netrw plugin (netrw.vim) in Vim 7.0 and 7.1 allows user-assisted attackers to execute arbitrary commands via shell metacharacters in a filename used by the (1) "D" (delete) command or (2) b:netrw_curdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.
Weakness: CWE-78
Which versions are affected by CVE-2008-6235?
It affects 1 product.
Products include Vim Vim.
How do I fix CVE-2008-6235?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2008-6235 being exploited?
There is no known exploitation of CVE-2008-6235 in the wild and no public exploit code.
Other vulnerabilities in Vim Vim
Sources
Also known as DEBIAN-CVE-2008-6235, GHSA-f7gm-2q6r-xxwv.