#VU70497 Untrusted search path in Vim


Published: 2022-12-27

Vulnerability identifier: #VU70497

Vulnerability risk: Low

CVSSv3.1: 5.8 [CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2009-0316

CWE-ID: CWE-426

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Vim
Client/Desktop applications / Office applications

Vendor: Vim.org

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to untrusted search path in src/if_python.c in the Python interface in Vim. A local user can place a malicious python file in a directory and trick the victim to open a file in that directory.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Vim: 7.2 - 7.2.044


External links
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484305
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493937
http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
http://support.apple.com/kb/HT4077
http://www.mandriva.com/security/advisories?name=MDVSA-2009:047
http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
http://www.openwall.com/lists/oss-security/2009/01/26/2
http://www.securityfocus.com/bid/33447
http://bugzilla.redhat.com/show_bug.cgi?id=481565
http://exchange.xforce.ibmcloud.com/vulnerabilities/48275
http://svn.pardus.org.tr/pardus/2008/applications/editors/vim/files/official/7.2.045


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability