Secunia Logo
 
Vim Modelines Shell Command Execution Vulnerability
Secunia Advisory: SA16206
Release Date: 2005-07-26
Last Update: 2005-07-27
Popularity: 9,205 views

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

Software:Vim 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-2368


Description:
Georgi Guninski has reported a vulnerability in vim, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to an error that allows the "glob()" command to be exploited to execute shell commands when the user opens a specially crafted file.

Successful exploitation allows command execution with privileges of the vim user, but requires the "modelines" option to be enabled and the user is tricked into opening a malicious file.

The vulnerability has been reported in versions prior to 6.3.082.

Solution:
Update to version 6.3.082 or later.

Provided and/or discovered by:
Georgi Guninski

Changelog:
2005-07-27: Added CVE reference.

Original Advisory:
Georgi Guninski:
http://www.guninski.com/where_do_you_want_billg_to_go_today_5.html

VIM:
ftp://ftp.vim.org/pub/vim/patches/6.3/README


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 // 39 views
3. ClipShare "chid" SQL Injection Vulnerability // 30 views
4. Apple iPhone / iPod touch Multiple Vulnerabilities // 27 views
5. vBulletin Visitor Messages Script Insertion Vulnerability // 27 views
6. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 27 views
7. Adobe Acrobat/Reader Multiple Vulnerabilities // 24 views
8. Fedora update for thunderbird // 21 views
9. EMC Control Center SAN Manager Multiple Vulnerabilities // 20 views
10. refbase "headerMsg" Cross-Site Scripting Vulnerability // 20 views