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

Configuration 1 (hide)

OR cpe:2.3:a:vim:tar.vim:v.10:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.11:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.12:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.13:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.14:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.15:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.16:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.17:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.18:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.19:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.20:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.21:*:*:*:*:*:*:*
cpe:2.3:a:vim:tar.vim:v.22:*:*:*:*:*:*:*
cpe:2.3:a:vim:vim:7.0:*:*:*:*:*:*:*
cpe:2.3:a:vim:vim:7.1:*:*:*:*:*:*:*
cpe:2.3:a:vim:vim:7.1.266:*:*:*:*:*:*:*
cpe:2.3:a:vim:vim:7.1.314:*:*:*:*:*:*:*
cpe:2.3:a:vim:vim:7.2:*:*:*:*:*:*:*

History

No history.

Information

Published : 2009-02-21 22:30

Updated : 2024-02-28 11:21


NVD link : CVE-2008-3074

Mitre link : CVE-2008-3074

CVE.ORG link : CVE-2008-3074


JSON object : View

Products Affected

vim

  • vim
  • tar.vim
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')