CVE-2008-4101
published 2008-09-18CVE-2008-4101: Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by…
PriorityP351critical9.3CVSS 2.0
AVNACMAuNCCICAC
EXPLOIT
EPSS
9.21%
94.7th percentile
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:7.2.010-1 (bookworm) | vim 2:7.2.010-1 (bookworm) |
| vim | vim | <= 7.2 | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | — | — |
| vim | vim | >= 0 < 2:7.2.010-1 | 2:7.2.010-1 |
| vim | vim | >= 0 < 2:7.2.010-1 | 2:7.2.010-1 |
| vim | vim | >= 0 < 2:7.2.010-1 | 2:7.2.010-1 |
| vim | vim | >= 0 < 2:7.2.010-1 | 2:7.2.010-1 |
CVSS provenance
nvdv2.09.3CRITICALAV:N/AC:M/Au:N/C:C/I:C/A:C
osv9.3CRITICAL
vendor_debian9.3LOW
vendor_redhat9.3CRITICAL
vendor_ubuntu9.3CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
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.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2009-01-27·CVSS 9.3
CVE-2008-2712 [CRITICAL] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Vim vulnerabilities
Jan Minar discovered that Vim did not properly sanitize inputs before invoking
the execute or system functions inside Vim scripts. If a user were tricked
into running Vim scripts with a specially crafted input, an attacker could
execute arbitrary code with the privileges of the user invoking the program.
(CVE-2008-2712)
Ben Schmidt discovered that Vim did not properly escape characters when
performing keyword or tag lookups. If a user were tricked into running specially
crafted commands, an attacker could execute arbitrary code with the privileges
of the user invoking the program. (CVE-2008-4101)
Instructions: In general, a standard system upgrade is sufficient to effect the
necessary changes.
Red Hat
vim: arbitrary code execution in commands: K, Control-], g]
vendor_redhat·2008-08-22·CVSS 9.3
CVE-2008-4101 [CRITICAL] vim: arbitrary code execution in commands: K, Control-], g]
vim: arbitrary code execution in commands: K, Control-], g]
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
Debian
CVE-2008-4101: vim - Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which al...
vendor_debian·2008·CVSS 9.3
CVE-2008-4101 [CRITICAL] CVE-2008-4101: vim - Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which al...
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
Scope: local
bookworm: resolved (fixed in 2:7.2.010-1)
bullseye: resolved (fixed in 2:7.2.010-1)
forky: resolved (fixed in 2:7.2.010-1)
sid: resolved (fixed in 2:7.2.010-1)
trixie: resolved (fixed in 2:7.2.010-1)
GHSA
GHSA-2gqj-jjm7-f6m7: Vim 3
ghsa_unreviewed·2022-05-02·CVSS 9.3
CVE-2008-4101 [CRITICAL] CWE-20 GHSA-2gqj-jjm7-f6m7: Vim 3
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
OSV
CVE-2008-4101: Vim 3
osv·2008-09-18·CVSS 9.3
CVE-2008-4101 [CRITICAL] CVE-2008-4101: Vim 3
Vim 3.0 through 7.x before 7.2.010 does not properly escape characters, which allows user-assisted attackers to (1) execute arbitrary shell commands by entering a K keystroke on a line that contains a ";" (semicolon) followed by a command, or execute arbitrary Ex commands by entering an argument after a (2) "Ctrl-]" (control close-square-bracket) or (3) "g]" (g close-square-bracket) keystroke sequence, a different issue than CVE-2008-2712.
No detection rules found.
http://ftp.vim.org/pub/vim/patches/7.2/7.2.010http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2http://groups.google.com/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668ehttp://groups.google.com/group/vim_dev/msg/9290f26f9bc11b33http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.htmlhttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlhttp://secunia.com/advisories/31592http://secunia.com/advisories/32222http://secunia.com/advisories/32858http://secunia.com/advisories/32864http://secunia.com/advisories/33410http://support.apple.com/kb/HT3216http://support.apple.com/kb/HT4077http://support.avaya.com/elmodocs2/security/ASA-2008-457.htmhttp://support.avaya.com/elmodocs2/security/ASA-2009-001.htmhttp://www.mandriva.com/security/advisories?name=MDVSA-2008:236http://www.openwall.com/lists/oss-security/2008/09/11/3http://www.openwall.com/lists/oss-security/2008/09/11/4http://www.openwall.com/lists/oss-security/2008/09/16/5http://www.openwall.com/lists/oss-security/2008/09/16/6http://www.rdancer.org/vulnerablevim-K.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0580.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0617.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0618.htmlhttp://www.securityfocus.com/archive/1/495662http://www.securityfocus.com/archive/1/495703http://www.securityfocus.com/archive/1/502322/100/0/threadedhttp://www.securityfocus.com/bid/30795http://www.securityfocus.com/bid/31681http://www.ubuntu.com/usn/USN-712-1http://www.vmware.com/security/advisories/VMSA-2009-0004.htmlhttp://www.vupen.com/english/advisories/2008/2780http://www.vupen.com/english/advisories/2009/0033http://www.vupen.com/english/advisories/2009/0904https://bugzilla.redhat.com/show_bug.cgi?id=461927https://exchange.xforce.ibmcloud.com/vulnerabilities/44626https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812http://ftp.vim.org/pub/vim/patches/7.2/7.2.010http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2http://groups.google.com/group/vim_dev/attach/dd32ad3a84f36bb2/K-arbitrary-command-execution.patch?part=2http://groups.google.com/group/vim_dev/browse_thread/thread/1434d0812b5c817e/6ad2d5b50a96668ehttp://groups.google.com/group/vim_dev/msg/9290f26f9bc11b33http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.htmlhttp://lists.apple.com/archives/security-announce/2010//Mar/msg00001.htmlhttp://secunia.com/advisories/31592http://secunia.com/advisories/32222http://secunia.com/advisories/32858http://secunia.com/advisories/32864http://secunia.com/advisories/33410http://support.apple.com/kb/HT3216http://support.apple.com/kb/HT4077http://support.avaya.com/elmodocs2/security/ASA-2008-457.htmhttp://support.avaya.com/elmodocs2/security/ASA-2009-001.htmhttp://www.mandriva.com/security/advisories?name=MDVSA-2008:236http://www.openwall.com/lists/oss-security/2008/09/11/3http://www.openwall.com/lists/oss-security/2008/09/11/4http://www.openwall.com/lists/oss-security/2008/09/16/5http://www.openwall.com/lists/oss-security/2008/09/16/6http://www.rdancer.org/vulnerablevim-K.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0580.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0617.htmlhttp://www.redhat.com/support/errata/RHSA-2008-0618.htmlhttp://www.securityfocus.com/archive/1/495662http://www.securityfocus.com/archive/1/495703http://www.securityfocus.com/archive/1/502322/100/0/threadedhttp://www.securityfocus.com/bid/30795http://www.securityfocus.com/bid/31681http://www.ubuntu.com/usn/USN-712-1http://www.vmware.com/security/advisories/VMSA-2009-0004.htmlhttp://www.vupen.com/english/advisories/2008/2780http://www.vupen.com/english/advisories/2009/0033http://www.vupen.com/english/advisories/2009/0904https://bugzilla.redhat.com/show_bug.cgi?id=461927https://exchange.xforce.ibmcloud.com/vulnerabilities/44626https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812
2008-09-18
Published