|
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.
|