CVE-2008-2712
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 b…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Vim 7.x - Vim Script Multiple Command Execution Vulnerabilities2008-06-14 · local · linux
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Vim | Vim | through 6.4 from 7.0 through 7.1.314 |
| Canonical | Ubuntu Linux | Versions 6.06, 7.10, 8.04, 8.10 |
Weakness classification
References
- NVD record
- CVE.org record
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00004.html
- http://marc.info/?l=bugtraq&m=121494431426308&w=2
- http://secunia.com/advisories/30731
- http://secunia.com/advisories/32222
- http://secunia.com/advisories/32858
- http://secunia.com/advisories/32864
- http://secunia.com/advisories/33410
- http://secunia.com/advisories/34418
- http://securityreason.com/securityalert/3951
- http://support.apple.com/kb/HT3216
- http://support.apple.com/kb/HT4077
- http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm
- http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm
- http://wiki.rpath.com/Advisories:rPSA-2008-0247
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:236
- http://www.openwall.com/lists/oss-security/2008/06/16/2
- http://www.openwall.com/lists/oss-security/2008/10/15/1
- http://www.rdancer.org/vulnerablevim.html
- http://www.redhat.com/support/errata/RHSA-2008-0580.html
- http://www.redhat.com/support/errata/RHSA-2008-0617.html
- http://www.redhat.com/support/errata/RHSA-2008-0618.html
- http://www.securityfocus.com/archive/1/493352/100/0/threaded
- http://www.securityfocus.com/archive/1/493353/100/0/threaded