First published: Tue Jul 15 2008(Updated: )
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 tar archive and possibly (2) the filename of the first file in a tar archive, which is not properly handled by the VIM TAR plugin (tar.vim) v.10 through v.22, as demonstrated by the shellescape, tarplugin.v2, tarplugin, and tarplugin.updated 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-3075. 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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Vim Vim | =7.1.266 | |
Vim Tar.vim | =v.12 | |
Vim Vim | =7.1 | |
Vim Vim | =7.0 | |
Vim Tar.vim | =v.11 | |
Vim Tar.vim | =v.17 | |
Vim Vim | =7.2 | |
Vim Tar.vim | =v.21 | |
Vim Tar.vim | =v.14 | |
Vim Tar.vim | =v.13 | |
Vim Tar.vim | =v.16 | |
Vim Tar.vim | =v.18 | |
Vim Tar.vim | =v.22 | |
Vim Tar.vim | =v.15 | |
Vim Vim | =7.1.314 | |
Vim Tar.vim | =v.10 | |
Vim Tar.vim | =v.20 | |
Vim Tar.vim | =v.19 | |
redhat/vim | <2:7.0.109-4.el5_2.4 | 2:7.0.109-4.el5_2.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-3074 is categorized as a high severity vulnerability due to its ability to allow arbitrary code execution.
To fix CVE-2008-3074, update to Vim version 7.2 or later or apply the appropriate patches from your distribution.
CVE-2008-3074 affects Vim versions 7.0 through 7.2, including 7.1 and 7.2a.10.
CVE-2008-3074 allows user-assisted attackers to execute arbitrary code through crafted tar archive filenames.
Yes, due to its nature of allowing arbitrary code execution, CVE-2008-3074 is considered a critical vulnerability.