Secunia Logo
 
Vim Shell Command Injection Weaknesses
Secunia Advisory: SA31592
Release Date: 2008-08-25
Last Update: 2008-09-29
Popularity: 2,528 views

Critical:
Not critical
Impact: System access
Where: From remote
Solution Status: Unpatched

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

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4101


Description:
Some weaknesses have been reported in Vim, which can be exploited by malicious people to potentially compromise a user's system.

The weaknesses are caused due insufficient filtering of certain input when executing certain commands (e.g. the "K", "<C-]>, and "g]" commands), which can be exploited to execute arbitrary Vim script or shell commands.

Successful exploitation requires that the user e.g. is tricked into opening a malicious file and using the "K" command on a malicious keyword. Exploitation can also depend on certain settings like "iskeyword", which can be automatically set by malicious files if support for modelines is enabled.

The weaknesses are reported in version 3.00 to 7.2. Other versions may also be affected.

Solution:
Do not use affected commands when editing untrusted files.

Provided and/or discovered by:
Ben Schmidt. Additional information provided by Jan Minar (rdancer).

Changelog:
2008-09-29: Added CVE reference.

Original Advisory:
http://www.rdancer.org/vulnerablevim-K.html

http://groups.google.com/group/vim_de...ead/1434d0812b5c817e/6ad2d5b50a96668e


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 // 40 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 36 views
3. ClipShare "chid" SQL Injection Vulnerability // 29 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 27 views
5. Apple iPhone / iPod touch Multiple Vulnerabilities // 24 views
6. vBulletin Visitor Messages Script Insertion Vulnerability // 22 views
7. Adobe Acrobat/Reader Multiple Vulnerabilities // 21 views
8. refbase "headerMsg" Cross-Site Scripting Vulnerability // 19 views
9. Fedora update for thunderbird // 19 views
10. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 19 views