Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

BID:33447

Info

Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

Bugtraq ID: 33447
Class: Design Error
CVE: CVE-2009-0316
Remote: Yes
Local: No
Published: Jan 26 2009 12:00AM
Updated: Mar 29 2010 07:52PM
Credit: James Vega
Vulnerable: VIM Development Group VIM 7.2.10
VIM Development Group VIM 7.1.314
VIM Development Group VIM 7.1.300
VIM Development Group VIM 7.1.299
VIM Development Group VIM 7.1.298
VIM Development Group VIM 7.2c.002
VIM Development Group VIM 7.2a.13
VIM Development Group VIM 7.2a.10
VIM Development Group VIM 7.2
VIM Development Group VIM 7.1
VIM Development Group VIM 7.0
+ Mandriva Linux Mandrake 2007.1 x86_64
+ Mandriva Linux Mandrake 2007.1
+ Mandriva Linux Mandrake 2007.1
+ Mandriva Linux Mandrake 2007.0 x86_64
+ Mandriva Linux Mandrake 2007.0 x86_64
+ Mandriva Linux Mandrake 2007.0
+ Mandriva Linux Mandrake 2007.0
+ Ubuntu Ubuntu Linux 7.04 sparc
+ Ubuntu Ubuntu Linux 7.04 powerpc
+ Ubuntu Ubuntu Linux 7.04 i386
+ Ubuntu Ubuntu Linux 7.04 amd64
+ Ubuntu Ubuntu Linux 6.10 sparc
+ Ubuntu Ubuntu Linux 6.10 powerpc
+ Ubuntu Ubuntu Linux 6.10 i386
+ Ubuntu Ubuntu Linux 6.10 amd64
Redhat Enterprise Linux ES 4
Redhat Enterprise Linux ES 3
Redhat Enterprise Linux AS 4
Redhat Enterprise Linux AS 3
Redhat Enterprise Linux 5 Server
Mandriva Linux Mandrake 2009.0 x86_64
Mandriva Linux Mandrake 2009.0
Mandriva Linux Mandrake 2008.1 x86_64
Mandriva Linux Mandrake 2008.1
Mandriva Linux Mandrake 2008.0 x86_64
Mandriva Linux Mandrake 2008.0
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
MandrakeSoft Corporate Server 4.0
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
Apple Mac OS X Server 10.5.8
Apple Mac OS X 10.5.8
Not Vulnerable: VIM Development Group VIM 7.2.45

Discussion

Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

Vim is prone to a remote command-execution vulnerability.

An attacker could exploit this issue by enticing an unsuspecting victim to execute the vulnerable application in a directory containing a malicious Python file. A successful exploit will allow arbitrary Python commands to run with the privileges of the currently logged-in user.

Versions prior to Vim 7.2.045 are vulnerable.

Exploit / POC

Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

An attacker may exploit this issue using commonly available tools.

Solution / Fix

Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

Solution:
A vendor patch is available; please see the references for more information.


Mandriva Linux Mandrake 2008.1 x86_64

Mandriva Linux Mandrake 2008.1

Mandriva Linux Mandrake 2008.0 x86_64

Mandriva Linux Mandrake 2008.0

Mandriva Linux Mandrake 2009.0

MandrakeSoft Corporate Server 4.0

Mandriva Linux Mandrake 2009.0 x86_64

MandrakeSoft Corporate Server 3.0 x86_64

MandrakeSoft Corporate Server 3.0

MandrakeSoft Corporate Server 4.0 x86_64

References

Vim 'PySys_SetArgv' Remote Command Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report