Secunia Logo
 
Vim Modelines "feedkeys()" Shell Command Execution
Secunia Advisory: SA25024
Release Date: 2007-05-01
Last Update: 2007-05-07
Popularity: 6,594 views

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

Software:Vim 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-2438


Description:
Tomas Golembiovsky has discovered a vulnerability in Vim, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to the application allowing e.g. the "feedkeys()" function to be called in the sandbox. This can be exploited to execute arbitrary commands with privileges of the Vim user.

Successful exploitation requires that the "modelines" option is enabled and the user is tricked into opening a malicious file.

The vulnerability is confirmed in version 7.0.219. Other versions may also be affected.

Solution:
Update to version 7.0.235.

Provided and/or discovered by:
Tomas Golembiovsky

Changelog:
2007-05-07: Added CVE reference.

Original Advisory:
http://marc.info/?l=vim-dev&m=117762581821298&w=2


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. Apple iPhone / iPod touch Multiple Vulnerabilities // 46 views
2. EMC Control Center SAN Manager Multiple Vulnerabilities // 27 views
3. vBulletin Visitor Messages Script Insertion Vulnerability // 27 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 26 views
5. Softbiz Classifieds Script "msg" Cross-Site Scripting Vulnerability // 25 views
6. SemanticScuttle Cross-Site Scripting Vulnerabilities // 24 views
7. xt:Commerce SQL Injection Vulnerability // 24 views
8. Fedora update for thunderbird // 23 views
9. IBM Workplace Web Content Management Cross-Site Scripting Vulnerabilities // 23 views
10. Avaya CMS Solaris "sadmind" Buffer Overflow Vulnerability // 23 views