Lucene search

K
freebsdFreeBSD81F127A8-0038-11DA-86BC-000E0C2E438A
HistoryJul 25, 2005 - 12:00 a.m.

vim -- vulnerabilities in modeline handling: glob, expand

2005-07-2500:00:00
vuxml.freebsd.org
10

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.007 Low

EPSS

Percentile

80.7%

Georgi Guninski discovered a way to construct Vim modelines
that execute arbitrary shell commands. The vulnerability
can be exploited by including shell commands in modelines
that call the glob() or expand() functions. An attacker
could trick an user to read or edit a trojaned file with
modelines enabled, after which the attacker is able to
execute arbitrary commands with the privileges of the user.
Note: It is generally recommended that VIM
users use set nomodeline in
~/.vimrc to avoid the possibility of trojaned
text files.

9.3 High

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

0.007 Low

EPSS

Percentile

80.7%

Related for 81F127A8-0038-11DA-86BC-000E0C2E438A