// For flags

CVE-2008-4101

Vim 7.1.314 - Insufficient Shell Escaping Multiple Command Execution Vulnerabilities

Severity Score

9.3
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

3
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Vim 3.0 hasta 7.x anterior a 7.2.010, no escapa los caracteres de forma adecuada, esto permite a atacantes con la ayuda del usuario local (1) ejecutar instrucciones de su elección en el intérprete de comandos al introducir una pulsación de la tecla K en una línea que contiene un ";" (punto y coma), seguido de un comando, o ejecutar comandos Ex de su elección al introducir un argumento después de una secuencia de teclado: (2)"Ctrl-]" (control corchete de cierre) o (3) "g]" (g corchete de cierre). NOTA: se trata de una vulnerabilidad diferente de CVE-2008-2712.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2008-08-19 First Exploit
  • 2008-09-15 CVE Reserved
  • 2008-09-18 CVE Published
  • 2023-03-07 EPSS Updated
  • 2024-08-07 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-20: Improper Input Validation
CAPEC
References (41)
URL Tag Source
http://groups.google.com/group/vim_dev/attach/9290f26f9bc11b33/K-arbitrary-command-execution.patch.v3?part=2 X_refsource_misc
http://secunia.com/advisories/31592 Third Party Advisory
http://secunia.com/advisories/32222 Third Party Advisory
http://secunia.com/advisories/32858 Third Party Advisory
http://secunia.com/advisories/32864 Third Party Advisory
http://secunia.com/advisories/33410 Third Party Advisory
http://support.apple.com/kb/HT3216 X_refsource_confirm
http://support.apple.com/kb/HT4077 X_refsource_confirm
http://support.avaya.com/elmodocs2/security/ASA-2008-457.htm X_refsource_confirm
http://support.avaya.com/elmodocs2/security/ASA-2009-001.htm X_refsource_confirm
http://www.openwall.com/lists/oss-security/2008/09/11/3 Mailing List
http://www.openwall.com/lists/oss-security/2008/09/11/4 Mailing List
http://www.openwall.com/lists/oss-security/2008/09/16/5 Mailing List
http://www.openwall.com/lists/oss-security/2008/09/16/6 Mailing List
http://www.rdancer.org/vulnerablevim-K.html X_refsource_misc
http://www.securityfocus.com/archive/1/495662 Mailing List
http://www.securityfocus.com/archive/1/495703 Mailing List
http://www.securityfocus.com/archive/1/502322/100/0/threaded Mailing List
http://www.securityfocus.com/bid/30795 Vdb Entry
http://www.securityfocus.com/bid/31681 Vdb Entry
http://www.vmware.com/security/advisories/VMSA-2009-0004.html X_refsource_confirm
http://www.vupen.com/english/advisories/2008/2780 Vdb Entry
http://www.vupen.com/english/advisories/2009/0033 Vdb Entry
http://www.vupen.com/english/advisories/2009/0904 Vdb Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/44626 Vdb Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10894 Signature
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5812 Signature
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
<= 7.2
Search vendor "Vim" for product "Vim" and version " <= 7.2"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
3.0
Search vendor "Vim" for product "Vim" and version "3.0"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
4.0
Search vendor "Vim" for product "Vim" and version "4.0"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.0
Search vendor "Vim" for product "Vim" and version "5.0"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.1
Search vendor "Vim" for product "Vim" and version "5.1"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.2
Search vendor "Vim" for product "Vim" and version "5.2"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.3
Search vendor "Vim" for product "Vim" and version "5.3"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.4
Search vendor "Vim" for product "Vim" and version "5.4"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.5
Search vendor "Vim" for product "Vim" and version "5.5"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.6
Search vendor "Vim" for product "Vim" and version "5.6"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.7
Search vendor "Vim" for product "Vim" and version "5.7"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
5.8
Search vendor "Vim" for product "Vim" and version "5.8"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
6.0
Search vendor "Vim" for product "Vim" and version "6.0"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
6.1
Search vendor "Vim" for product "Vim" and version "6.1"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
6.2
Search vendor "Vim" for product "Vim" and version "6.2"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
6.3
Search vendor "Vim" for product "Vim" and version "6.3"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
6.4
Search vendor "Vim" for product "Vim" and version "6.4"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
7.0
Search vendor "Vim" for product "Vim" and version "7.0"
-
Affected
Vim
Search vendor "Vim"
Vim
Search vendor "Vim" for product "Vim"
7.1
Search vendor "Vim" for product "Vim" and version "7.1"
-
Affected