Skip to content

CVE-2008-3074 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....

HighCVSS 9.3 EPSS 3.8%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
vim tar.vim = v.10 No fix listed
vim tar.vim = v.11 No fix listed
vim tar.vim = v.12 No fix listed
vim tar.vim = v.13 No fix listed
vim tar.vim = v.14 No fix listed
vim tar.vim = v.15 No fix listed
vim tar.vim = v.16 No fix listed
vim tar.vim = v.17 No fix listed
vim tar.vim = v.18 No fix listed
vim tar.vim = v.19 No fix listed
vim tar.vim = v.20 No fix listed
vim tar.vim = v.21 No fix listed
vim tar.vim = v.22 No fix listed
vim = 7.0 No fix listed
vim = 7.1 No fix listed
vim = 7.1.266 No fix listed
vim = 7.1.314 No fix listed
vim = 7.2 No fix listed
debian/vim(Debian:12) < 2:7.2.010-1 2:7.2.010-1
debian/vim(Debian:13) < 2:7.2.010-1 2:7.2.010-1
debian/vim(Debian:14) < 2:7.2.010-1 2:7.2.010-1

References