Python up to 2.6.0 API argv[0] memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.4$0-$5k0.00

Summaryinfo

A vulnerability was found in Python. It has been classified as problematic. This impacts the function API. The manipulation of the argument argv[0] leads to memory corruption. This vulnerability is documented as CVE-2008-5983. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Python (Programming Language Software) and classified as critical. This issue affects the function API. The manipulation of the argument argv[0] with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 01/26/2009. The weakness was released 01/27/2009 by Tomas Hoger as Bug 482814 as not defined bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. The identification of this vulnerability is CVE-2008-5983 since 01/27/2009. An attack has to be approached locally. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 35596 (Fedora 9 : gnumeric-1.8.2-4.fc9 (2009-1295)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 118359 (Fedora Update for Python (FEDORA-2010-9652)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (48340), Tenable (35596), SecurityFocus (BID 40370†), OSVDB (53373†) and Secunia (SA34522†). Entries connected to this vulnerability are available at VDB-46129, VDB-46127, VDB-46126 and VDB-46124. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.3
VulDB Meta Temp Score: 8.4

VulDB Base Score: 9.3
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 35596
Nessus Name: Fedora 9 : gnumeric-1.8.2-4.fc9 (2009-1295)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 63330
OpenVAS Name: Fedora Core 10 FEDORA-2009-1289 (gnumeric)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

01/26/2009 🔍
01/27/2009 +1 days 🔍
01/27/2009 +0 days 🔍
01/27/2009 +0 days 🔍
01/27/2009 +0 days 🔍
02/05/2009 +9 days 🔍
02/05/2009 +0 days 🔍
02/08/2009 +3 days 🔍
03/31/2009 +51 days 🔍
05/25/2010 +420 days 🔍
03/17/2015 +1757 days 🔍
08/26/2019 +1623 days 🔍

Sourcesinfo

Advisory: Bug 482814
Researcher: Tomas Hoger
Status: Not defined

CVE: CVE-2008-5983 (🔍)
GCVE (CVE): GCVE-0-2008-5983
GCVE (VulDB): GCVE-100-46121

OVAL: 🔍

X-Force: 48340
SecurityFocus: 40370 - Python 'audioop' Module Integer Overflow Vulnerability
Secunia: 34522
OSVDB: 53373 - Python PySys_SetArgv() function privilege escalation
Vulnerability Center: 20741 - Python 2.6 and Earlier PySys_SetArgv API Function Untrusted Search Path Vulnerability, Medium
Vupen: ADV-2010-1448

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/26/2019 16:19
Changes: 03/17/2015 16:11 (83), 08/26/2019 16:19 (5)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!