The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-assisted attackers to execute arbitrary code via the ! (exclamation point) shell metacharacter in (1) the filename of a ZIP archive and possibly (2) the filename of the first file in a ZIP archive, which is not properly handled by zip.vim in the VIM ZIP plugin (zipPlugin.vim) v.11 through v.21, as demonstrated by the zipplugin and zipplugin.v2 test cases. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2008-2712. NOTE: this issue has the same root cause as CVE-2008-3074. NOTE: due to the complexity of the associated disclosures and the incomplete information related to them, there may be inaccuracies in this CVE description and in external mappings to this identifier.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Vim | Vim | 7.0 (including) | 7.0 (including) |
Vim | Vim | 7.1 (including) | 7.1 (including) |
Vim | Vim | 7.1.266 (including) | 7.1.266 (including) |
Vim | Vim | 7.1.314 (including) | 7.1.314 (including) |
Vim | Vim | 7.2 (including) | 7.2 (including) |
Vim | Vim | 7.2a.10 (including) | 7.2a.10 (including) |
Zipplugin.vim | Vim | v.11 (including) | v.11 (including) |
Zipplugin.vim | Vim | v.12 (including) | v.12 (including) |
Zipplugin.vim | Vim | v.13 (including) | v.13 (including) |
Zipplugin.vim | Vim | v.14 (including) | v.14 (including) |
Zipplugin.vim | Vim | v.15 (including) | v.15 (including) |
Zipplugin.vim | Vim | v.16 (including) | v.16 (including) |
Zipplugin.vim | Vim | v.17 (including) | v.17 (including) |
Zipplugin.vim | Vim | v.18 (including) | v.18 (including) |
Zipplugin.vim | Vim | v.19 (including) | v.19 (including) |
Zipplugin.vim | Vim | v.20 (including) | v.20 (including) |
Zipplugin.vim | Vim | v.21 (including) | v.21 (including) |
Red Hat Enterprise Linux 5 | RedHat | vim-2:7.0.109-4.el5_2.4z | * |
When a product allows a user’s input to contain code syntax, it might be possible for an attacker to craft the code in such a way that it will alter the intended control flow of the product. Such an alteration could lead to arbitrary code execution. Injection problems encompass a wide variety of issues – all mitigated in very different ways. For this reason, the most effective way to discuss these weaknesses is to note the distinct features which classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common – i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed. The most classic instantiations of this category of weakness are SQL injection and format string vulnerabilities.