Vulnerability Name:

CVE-2002-1377 (CCN-10835)

Assigned:2002-12-11
Published:2002-12-11
Updated:2017-10-10
Summary:vim 6.0 and 6.1, and possibly other versions, allows attackers to execute arbitrary commands using the libcall feature in modelines, which are not sandboxed but may be executed when vim is used to edit a malicious file, as demonstrated using mutt.
CVSS v3 Severity:5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:4.6 Medium (CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-Other
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2002-1377

Source: CONECTIVA
Type: UNKNOWN
CLA-2004:812

Source: CCN
Type: Conectiva Linux Security Announcement CLSA-2004:812
vim

Source: FULLDISC
Type: UNKNOWN
20021213 Some vim problems, yet still vim much better than windows

Source: BUGTRAQ
Type: UNKNOWN
20040331 OpenLinux: vim arbitrary commands execution through modelines

Source: CCN
Type: RHSA-2002-297
Updated vim packages fix modeline vulnerability

Source: CCN
Type: RHSA-2002-302
vim security update

Source: CCN
Type: Sun Alert ID: 55700
Sun Linux VIM Package May Give Unprivileged Users the Ability to Execute Arbitrary Commands

Source: SUNALERT
Type: UNKNOWN
55700

Source: CCN
Type: Georgi Guninski Security Advisory #59, 2002
Some vim problems, yet still vim much better than windows

Source: MISC
Type: Patch, Vendor Advisory
http://www.guninski.com/vim1.html

Source: CCN
Type: SCO Security Advisory CSSA-2004-015.0
OpenLinux: vim arbitrary commands execution through modelines

Source: MANDRAKE
Type: UNKNOWN
MDKSA-2003:012

Source: CCN
Type: OpenPKG-SA-2003.003
Vim

Source: REDHAT
Type: Patch, Vendor Advisory
RHSA-2002:297

Source: REDHAT
Type: UNKNOWN
RHSA-2002:302

Source: BID
Type: UNKNOWN
6384

Source: CCN
Type: BID-6384
VIM ModeLines Arbitrary Command Execution Vulnerability

Source: XF
Type: UNKNOWN
vim-modeline-command-execution(10835)

Source: XF
Type: UNKNOWN
vim-modeline-command-execution(10835)

Vulnerable Configuration:Configuration 1:
  • cpe:/a:vim_development_group:vim:5.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.1:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.2:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.3:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.4:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.5:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.6:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.7:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:5.8:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:6.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim_development_group:vim:6.1:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:vim:vim:6.0:*:*:*:*:*:*:*
  • OR cpe:/a:vim:vim:6.1:*:*:*:*:*:*:*
  • AND
  • cpe:/o:redhat:linux:6.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux:7:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux:7.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:mandrakesoft:mandrake_single_network_firewall:7.2:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.1:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux:7.2:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:1.0:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:conectiva:linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux:7.3:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:current:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/a:openpkg:openpkg:1.1:*:*:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/a:mandrakesoft:mandrake_multi_network_firewall:8.2:*:*:*:*:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:8:*:*:*:server:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:8:*:*:*:workstation:*:*:*
  • OR cpe:/o:turbolinux:turbolinux:7:*:*:*:server:*:*:*
  • OR cpe:/o:redhat:enterprise_linux:2.1:*:as:*:*:*:*:*
  • OR cpe:/o:redhat:linux_advanced_workstation:2.1:*:itanium:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.0:*:ppc:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.1:*:ia64:*:*:*:*:*
  • OR cpe:/o:mandrakesoft:mandrake_linux:8.2:*:ppc:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    vim_development_group vim 5.0
    vim_development_group vim 5.1
    vim_development_group vim 5.2
    vim_development_group vim 5.3
    vim_development_group vim 5.4
    vim_development_group vim 5.5
    vim_development_group vim 5.6
    vim_development_group vim 5.7
    vim_development_group vim 5.8
    vim_development_group vim 6.0
    vim_development_group vim 6.1
    vim vim 6.0
    vim vim 6.1
    redhat linux 6.2
    redhat linux 7
    mandrakesoft mandrake linux 7.2
    redhat linux 7.1
    mandrakesoft mandrake linux 8.0
    mandrakesoft mandrake single network firewall 7.2
    mandrakesoft mandrake linux 8.1
    redhat linux 7.2
    openpkg openpkg 1.0
    mandrakesoft mandrake linux 8.2
    conectiva linux 8.0
    redhat linux 7.3
    openpkg openpkg current
    redhat linux 8.0
    openpkg openpkg 1.1
    mandrakesoft mandrake linux 9.0
    mandrakesoft mandrake multi network firewall 8.2
    turbolinux turbolinux 8
    turbolinux turbolinux 8
    turbolinux turbolinux 7
    redhat enterprise linux 2.1
    redhat linux advanced workstation 2.1
    mandrakesoft mandrake linux 8.0
    mandrakesoft mandrake linux 8.1
    mandrakesoft mandrake linux 8.2