Secunia Logo
 
Vim / Gvim Modelines Command Execution Vulnerabilities
Secunia Advisory: SA13490
Release Date: 2004-12-16
Popularity: 13,022 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

Software:GVim 6.x
Vim 6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-1138


Description:
Ciaran McCreesh has reported some vulnerabilities in vim and gvim, which can be exploited by malicious, local users to gain escalated privileges.

The vulnerabilities are caused due to some errors in the modelines options. This can be exploited to execute shell commands when a malicious file is opened.

Successful exploitation can lead to escalated privileges but requires that modelines is enabled.

Solution:
Apply patch for vim 6.3:
ftp://ftp.vim.org/pub/vim/patches/6.3/6.3.045

Provided and/or discovered by:
Ciaran McCreesh

Original Advisory:
http://www.gentoo.org/security/en/glsa/glsa-200412-10.xml


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 // 34 views
2. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 34 views
3. vBulletin Visitor Messages Script Insertion Vulnerability // 28 views
4. SemanticScuttle Cross-Site Scripting Vulnerabilities // 26 views
5. Easyedit CMS Multiple SQL Injection Vulnerabilities // 25 views
6. xt:Commerce SQL Injection Vulnerability // 24 views
7. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 24 views
8. EMC Control Center SAN Manager Multiple Vulnerabilities // 23 views
9. Sun Java JDK / JRE Multiple Vulnerabilities // 22 views
10. Checkpoint VPN-1 Information Disclosure Vulnerability // 22 views