Secunia Logo
 
Vim / Gvim Modelines Command Execution Vulnerabilities
Secunia Advisory: SA13490
Release Date: 2004-12-16
Popularity: 13,018 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. Slackware update for amarok // 162 views
2. Symantec Backup Exec for Windows Servers Multiple Vulnerabilities // 39 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 28 views
4. ArticleBeach Script "page" File Inclusion Vulnerability // 24 views
5. pam_mount "passwdehd" Insecure Temporary Files // 24 views
6. refbase "headerMsg" Cross-Site Scripting Vulnerability // 24 views
7. imlib2 XPM Processing Buffer Overflow Vulnerability // 23 views
8. HP OpenView Network Node Manager Cross-Site Scripting Vulnerabilities // 23 views
9. MyTopix "send" SQL Injection Vulnerability // 22 views
10. P3nfs Insecure Temporary Files // 22 views