Secunia Logo
 
Vim Shell Command Injection Vulnerabilities
Secunia Advisory: SA30731
Release Date: 2008-06-16
Last Update: 2008-08-13
Popularity: 3,530 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:GVim 6.x
Vim 6.x
Vim 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-2712


Description:
Jan Minar has reported some vulnerabilities in Vim, which can be exploited by malicious people to compromise a user's system.

The vulnerabilities are caused due to the "filetype.vim", "tar.vim", "zip.vim", "xpm.vim", "xpm2.vim", "gzip.vim", and "netrw.vim" scripts improperly escaping special characters contained within filenames passed to the "execute" statement. This can be exploited to execute arbitrary commands on an affected system by tricking the user into opening specially crafted files.

The vulnerabilities are reported in versions 6.4 and 7.1.298. Other versions may also be affected.

Solution:
Update to version 7.2.

Provided and/or discovered by:
Jan Minar

Changelog:
2008-06-20: Added CVE reference.
2008-07-17: Added reporter link to the "Original Advisory" section.
2008-08-13: Updated "Solution" section.

Original Advisory:
Jan Minar:
http://www.rdancer.org/vulnerablevim.html
http://www.rdancer.org/vulnerablevim-netrw.v5.html

http://seclists.org/fulldisclosure/2008/Jun/0192.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 52 views
2. Apple iPhone / iPod touch Multiple Vulnerabilities // 37 views
3. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 36 views
4. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 25 views
5. vBulletin Visitor Messages Script Insertion Vulnerability // 23 views
6. Fedora update for thunderbird // 22 views
7. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 22 views
8. SemanticScuttle Cross-Site Scripting Vulnerabilities // 22 views
9. Checkpoint VPN-1 Information Disclosure Vulnerability // 22 views
10. ClipShare "chid" SQL Injection Vulnerability // 20 views