CVE-2008-6235: OS Command Injection

Published Feb 21, 2009
·
Updated

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:netrwcurdir variable, as demonstrated using the netrw.v4 and netrw.v5 test cases.

Affected Software

2 affected components
vim Vim=7.1
vim Vim=7.0

Event History

Feb 21, 2009
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Data Sourced
via NVD·11:30 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2008-6235?

CVE-2008-6235 has a moderate severity rating as it allows user-assisted attackers to execute arbitrary commands.

2

How do I fix CVE-2008-6235?

To fix CVE-2008-6235, upgrade Vim to version 7.2 or later, which addresses this vulnerability.

3

What versions of Vim are affected by CVE-2008-6235?

Vim versions 7.0 and 7.1 are affected by CVE-2008-6235.

4

What capabilities does CVE-2008-6235 exploit?

CVE-2008-6235 exploits the processing of filenames in the Netrw plugin, allowing command execution via shell metacharacters.

5

Is user interaction required for CVE-2008-6235 to be exploited?

Yes, user interaction is required to exploit CVE-2008-6235 since it requires the attacker to present a specially crafted filename.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203