CVE-2008-3075
published 2009-02-21CVE-2008-3075: 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)…
PriorityP341critical9.3CVSS 2.0
AVNACMAuNCCICAC
EPSS
4.26%
90.0th percentile
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.
Affected
46 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | vim | < vim 1:7.1.314-3 (bookworm) | vim 1:7.1.314-3 (bookworm) |
| debian | vim | < vim 2:7.2.010-1 (bookworm) | vim 2:7.2.010-1 (bookworm) |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | tar.vim | — | — |
| vim | vim | <= 6.4 | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
CVSS provenance
nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
osv9.3CRITICAL
vendor_debian9.3CRITICAL
vendor_redhat9.3CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
plugin: improper Implementation of shellescape() (arbitrary code execution)
vendor_redhat·2008-07-15·CVSS 9.3
CVE-2008-3074 [CRITICAL] plugin: improper Implementation of shellescape() (arbitrary code execution)
plugin: improper Implementation of shellescape() (arbitrary code execution)
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 inaccu
Red Hat
plugin: improper Implementation of shellescape() (arbitrary code execution)
vendor_redhat·2008-07-15·CVSS 9.3
CVE-2008-3075 [CRITICAL] plugin: improper Implementation of shellescape() (arbitrary code execution)
plugin: improper Implementation of shellescape() (arbitrary code execution)
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 C
Red Hat
vim: command execution via scripts not sanitizing inputs to execute and system
vendor_redhat·2008-06-15·CVSS 9.3
CVE-2008-2712 [CRITICAL] vim: command execution via scripts not sanitizing inputs to execute and system
vim: command execution via scripts not sanitizing inputs to execute and system
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
Debian
CVE-2008-2712: vim - Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to ex...
vendor_debian·2008·CVSS 9.3
CVE-2008-2712 [CRITICAL] CVE-2008-2712: vim - Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to ex...
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
Scope: local
bookworm: resolved (fixed in 1:7.1.314-3)
bullseye: resolved (fixed in 1:7.1.314-3)
forky: resolved (fixed in 1:7.1.314-3)
sid: resolved (fixed in 1:7.1.314-3)
trixie: resolved (fixed in 1:7.1.314-3)
Debian
CVE-2008-3074: vim - The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-...
vendor_debian·2008·CVSS 9.3
CVE-2008-3074 [CRITICAL] CVE-2008-3074: vim - The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-...
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.
S
Debian
CVE-2008-3075: vim - The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-...
vendor_debian·2008·CVSS 9.3
CVE-2008-3075 [CRITICAL] CVE-2008-3075: vim - The shellescape function in Vim 7.0 through 7.2, including 7.2a.10, allows user-...
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.
Scope: local
book
GHSA
GHSA-rj5h-39v8-hch3: The shellescape function in Vim 7
ghsa_unreviewed·2022-05-01·CVSS 9.3
CVE-2008-3074 [CRITICAL] CWE-78 GHSA-rj5h-39v8-hch3: The shellescape function in Vim 7
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.
GHSA
GHSA-wqmg-q854-x6x6: The shellescape function in Vim 7
ghsa_unreviewed·2022-05-01·CVSS 9.3
CVE-2008-3075 [CRITICAL] CWE-94 GHSA-wqmg-q854-x6x6: The shellescape function in Vim 7
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.
GHSA
GHSA-j8hm-6qv5-gj2w: Vim 7
ghsa_unreviewed·2022-05-01·CVSS 9.3
CVE-2008-2712 [CRITICAL] CWE-20 GHSA-j8hm-6qv5-gj2w: Vim 7
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
OSV
CVE-2008-3074: The shellescape function in Vim 7
osv·2009-02-21·CVSS 9.3
CVE-2008-3074 [CRITICAL] CVE-2008-3074: The shellescape function in Vim 7
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.
OSV
CVE-2008-3075: The shellescape function in Vim 7
osv·2009-02-21·CVSS 9.3
CVE-2008-3075 [CRITICAL] CVE-2008-3075: The shellescape function in Vim 7
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.
OSV
CVE-2008-2712: Vim 7
osv·2008-06-16·CVSS 9.3
CVE-2008-2712 [CRITICAL] CVE-2008-2712: Vim 7
Vim 7.1.314, 6.4, and other versions allows user-assisted remote attackers to execute arbitrary commands via Vim scripts that do not properly sanitize inputs before invoking the execute or system functions, as demonstrated using (1) filetype.vim, (3) xpm.vim, (4) gzip_vim, and (5) netrw. NOTE: the originally reported version was 7.1.314, but the researcher actually found this set of issues in 7.1.298. NOTE: the zipplugin issue (originally vector 2 in this identifier) has been subsumed by CVE-2008-3075.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2008-3075 Vim zip.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
bugzilla·2008-10-17·CVSS 9.3
CVE-2008-3075 [CRITICAL] CVE-2008-3075 Vim zip.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
CVE-2008-3075 Vim zip.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
Description of problem:
Jan Minar has reported the following problem present in Vim shellescape()
function implementation and demonstrated by testcases in zip.vim plugin:
The implementation of the shellescape() function does not properly
escape all special items, in particular the '!' character). This
can result in untrusted data being insufficiently sanitized
and possibly lead to arbitrary code execution.
To show this vulnerability can be exploited, the tar.vim plugin test cases
has been updated (zipplugin and zipplugin.v2 test cases).
CVE-2008-3075 as been pre-assigned and used in rPath advisory:
http://www.openwall.com/lists/oss-security/2008/07/10/7 (ZIP-2)
References:
http://w
Bugzilla
CVE-2008-3074 Vim tar.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
bugzilla·2008-10-17·CVSS 9.3
CVE-2008-3074 [CRITICAL] CVE-2008-3074 Vim tar.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
CVE-2008-3074 Vim tar.vim plugin: improper Implementation of shellescape() (arbitrary code execution)
Description of problem:
Jan Minar has reported the following problem present in Vim shellescape()
function implementation and demonstrated by testcases in tar.vim plugin:
The implementation of the shellescape() function does not properly
escape all special items, in particular the '!' character). This
can result in untrusted data being insufficiently sanitized
and possibly lead to arbitrary code execution.
To show this vulnerability can be exploited, the tar.vim plugin test cases
has been updated (tarplugin, tarplugin.v2 and tarplugin.updated test cases).
CVE-2008-3074 has been pre-assigned and used in rPath advisory:
http://www.openwall.com/lists/oss-security/2008/07/10/7
Reference
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.htmlhttp://marc.info/?l=bugtraq&m=121494431426308&w=2http://secunia.com/advisories/34418http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324http://www.mandriva.com/security/advisories?name=MDVSA-2008:236http://www.openwall.com/lists/oss-security/2008/07/07/1http://www.openwall.com/lists/oss-security/2008/07/07/4http://www.openwall.com/lists/oss-security/2008/07/08/12http://www.openwall.com/lists/oss-security/2008/07/10/7http://www.openwall.com/lists/oss-security/2008/07/13/1http://www.openwall.com/lists/oss-security/2008/07/15/4http://www.openwall.com/lists/oss-security/2008/08/01/1http://www.openwall.com/lists/oss-security/2008/10/15/1http://www.openwall.com/lists/oss-security/2008/10/20/2http://www.rdancer.org/vulnerablevim.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0580.htmlhttp://www.securityfocus.com/bid/32463https://bugzilla.redhat.com/show_bug.cgi?id=467432https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10246http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506919http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.htmlhttp://marc.info/?l=bugtraq&m=121494431426308&w=2http://secunia.com/advisories/34418http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0324http://www.mandriva.com/security/advisories?name=MDVSA-2008:236http://www.openwall.com/lists/oss-security/2008/07/07/1http://www.openwall.com/lists/oss-security/2008/07/07/4http://www.openwall.com/lists/oss-security/2008/07/08/12http://www.openwall.com/lists/oss-security/2008/07/10/7http://www.openwall.com/lists/oss-security/2008/07/13/1http://www.openwall.com/lists/oss-security/2008/07/15/4http://www.openwall.com/lists/oss-security/2008/08/01/1http://www.openwall.com/lists/oss-security/2008/10/15/1http://www.openwall.com/lists/oss-security/2008/10/20/2http://www.rdancer.org/vulnerablevim.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0580.htmlhttp://www.securityfocus.com/bid/32463https://bugzilla.redhat.com/show_bug.cgi?id=467432https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10246
2009-02-21
Published