CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2008-5983

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.
Publish Date : 2009-01-27 Last Update Date : 2013-05-14
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.9
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID CWE id is not defined for this vulnerability

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low
3.7
AV:L/AC:H/Au:N/C:P/I:P/A:P 2008-11-03 2008-08-06
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
DEPRECATED: ELSA-2011-0027 -- python security, bug fix, and enhancement update (low) oval:org.mitre.oval:def:28118 unix
ELSA-2011:0027: python security, bug fix, and enhancement update (Low) oval:org.mitre.oval:def:22821 unix
RHSA-2011:0027: python security, bug fix, and enhancement update (Low) oval:org.mitre.oval:def:21921 unix
RHSA-2011:0027: python security, bug fix, and enhancement update (Low) oval:com.redhat.rhsa:def:20110027 unix
USN-1596-1 -- python2.6 vulnerabilities oval:org.mitre.oval:def:18043 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2008-5983

# Product Type Vendor Product Version Update Edition Language
1 Application Python Software Foundation Python 1.5.2 Version Details Vulnerabilities
2 Application Python Software Foundation Python 1.6 Version Details Vulnerabilities
3 Application Python Software Foundation Python 1.6.1 Version Details Vulnerabilities
4 Application Python Software Foundation Python 2.0 Version Details Vulnerabilities
5 Application Python Software Foundation Python 2.0.1 Version Details Vulnerabilities
6 Application Python Software Foundation Python 2.1 Version Details Vulnerabilities
7 Application Python Software Foundation Python 2.1.1 Version Details Vulnerabilities
8 Application Python Software Foundation Python 2.1.2 Version Details Vulnerabilities
9 Application Python Software Foundation Python 2.1.3 Version Details Vulnerabilities
10 Application Python Software Foundation Python 2.2 Version Details Vulnerabilities
11 Application Python Software Foundation Python 2.2.1 Version Details Vulnerabilities
12 Application Python Software Foundation Python 2.2.2 Version Details Vulnerabilities
13 Application Python Software Foundation Python 2.2.3 Version Details Vulnerabilities
14 Application Python Software Foundation Python 2.3 Version Details Vulnerabilities
15 Application Python Software Foundation Python 2.3.1 Version Details Vulnerabilities
16 Application Python Software Foundation Python 2.3.2 Version Details Vulnerabilities
17 Application Python Software Foundation Python 2.3.3 Version Details Vulnerabilities
18 Application Python Software Foundation Python 2.3.4 Version Details Vulnerabilities
19 Application Python Software Foundation Python 2.3.5 Version Details Vulnerabilities
20 Application Python Software Foundation Python 2.3.6 Version Details Vulnerabilities
21 Application Python Software Foundation Python 2.3.7 Version Details Vulnerabilities
22 Application Python Software Foundation Python 2.4 Version Details Vulnerabilities
23 Application Python Software Foundation Python 2.4.1 Version Details Vulnerabilities
24 Application Python Software Foundation Python 2.4.2 Version Details Vulnerabilities
25 Application Python Software Foundation Python 2.4.3 Version Details Vulnerabilities
26 Application Python Software Foundation Python 2.4.4 Version Details Vulnerabilities
27 Application Python Software Foundation Python 2.4.5 Version Details Vulnerabilities
28 Application Python Software Foundation Python 2.4.6 Version Details Vulnerabilities
29 Application Python Software Foundation Python 2.5 Version Details Vulnerabilities
30 Application Python Software Foundation Python 2.5.1 Version Details Vulnerabilities
31 Application Python Software Foundation Python 2.5.2 Version Details Vulnerabilities
32 Application Python Software Foundation Python 2.5.4 Version Details Vulnerabilities
33 Application Python Software Foundation Python 2.6.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Python Software Foundation Python 33

- References For CVE-2008-5983

http://www.nabble.com/Bug-484305%3A-bicyclerepair%3A-bike.vim-imports-untrusted-python-files-from-cwd-td18848099.html
MLIST [debian-bugs-rc] 20080805 Bug#484305: bicyclerepair: bike.vim imports untrusted python files from cwd
http://lists.fedoraproject.org/pipermail/package-announce/2010-June/042751.html
FEDORA FEDORA-2010-9652
http://secunia.com/advisories/34522
SECUNIA 34522
http://secunia.com/advisories/40194
SECUNIA 40194
http://secunia.com/advisories/51024
SECUNIA 51024
http://secunia.com/advisories/50858
SECUNIA 50858
http://secunia.com/advisories/42888
SECUNIA 42888
http://www.openwall.com/lists/oss-security/2009/01/26/2
MLIST [oss-security] 20090126 CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)
http://secunia.com/advisories/51087
SECUNIA 51087
http://secunia.com/advisories/51040
SECUNIA 51040
http://security.gentoo.org/glsa/glsa-200903-41.xml
GENTOO GLSA-200903-41
http://www.mail-archive.com/[email protected]/msg586010.html
MLIST [debian-bugs] 20081112 Bug#493937: [Patch] Prevent loading of Python modules in working directory
http://www.redhat.com/support/errata/RHSA-2011-0027.html
REDHAT RHSA-2011:0027
http://www.openwall.com/lists/oss-security/2009/01/30/2
MLIST [oss-security] 20090130 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)
http://www.ubuntu.com/usn/USN-1613-1
UBUNTU USN-1613-1
http://security.gentoo.org/glsa/glsa-200904-06.xml
GENTOO GLSA-200904-06
http://www.openwall.com/lists/oss-security/2009/01/28/5
MLIST [oss-security] 20090128 Re: CVE request -- Python < 2.6 PySys_SetArgv issues (epiphany, csound, dia, eog, gedit, xchat, vim, nautilus-python, Gnumeric)
http://www.ubuntu.com/usn/USN-1596-1
UBUNTU USN-1596-1
http://www.ubuntu.com/usn/USN-1613-2
UBUNTU USN-1613-2
http://www.ubuntu.com/usn/USN-1616-1
UBUNTU USN-1616-1
http://www.vupen.com/english/advisories/2010/1448
VUPEN ADV-2010-1448
http://www.vupen.com/english/advisories/2011/0122
VUPEN ADV-2011-0122
https://bugzilla.redhat.com/show_bug.cgi?id=482814

- Metasploit Modules Related To CVE-2008-5983

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
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.