Vulnerability CVE-2008-5983


Published: 2009-01-27   Modified: 2012-02-12

Description:
Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.

CVSS2 => (AV:L/AC:M/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.9/10
10/10
3.4/10
Exploit range
Attack complexity
Authentication
Local
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Python software foundation -> Python 

 References:
https://bugzilla.redhat.com/show_bug.cgi?id=482814
http://www.vupen.com/english/advisories/2011/0122
http://www.vupen.com/english/advisories/2010/1448
http://www.ubuntu.com/usn/USN-1616-1
http://www.ubuntu.com/usn/USN-1613-2
http://www.ubuntu.com/usn/USN-1613-1
http://www.ubuntu.com/usn/USN-1596-1
http://www.redhat.com/support/errata/RHSA-2011-0027.html
http://www.openwall.com/lists/oss-security/2009/01/30/2
http://www.openwall.com/lists/oss-security/2009/01/28/5
http://www.openwall.com/lists/oss-security/2009/01/26/2
http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg586010.html
http://security.gentoo.org/glsa/glsa-200904-06.xml
http://security.gentoo.org/glsa/glsa-200903-41.xml
http://secunia.com/advisories/51087
http://secunia.com/advisories/51040
http://secunia.com/advisories/51024
http://secunia.com/advisories/50858
http://secunia.com/advisories/42888
http://secunia.com/advisories/40194
http://secunia.com/advisories/34522
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html

Copyright 2024, cxsecurity.com

 

Back to Top