Python up to 2.7.16/3.7.2 urllib2 urllib.request.urlopen Query String crlf injection

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Python up to 2.7.16/3.7.2. Affected by this issue is some unknown functionality in the library urllib.request.urlopen of the component urllib2. This manipulation as part of Query String causes crlf injection. This vulnerability appears as CVE-2019-9947. The attack may be initiated remotely. There is no available exploit.

Detailsinfo

A vulnerability has been found in Python up to 2.7.16/3.7.2 (Programming Language Software) and classified as critical. Affected by this vulnerability is an unknown functionality in the library urllib.request.urlopen of the component urllib2. The manipulation as part of a Query String leads to a crlf injection vulnerability. The CWE definition for the vulnerability is CWE-93. The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in urllib2 in Python 2.x through 2.7.16 and urllib in Python 3.x through 3.7.2. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the query string or PATH_INFO) followed by an HTTP header or a Redis command. This is similar to CVE-2019-9740.

The bug was discovered 02/06/2019. The weakness was presented 03/23/2019 (Website). The advisory is shared at lists.fedoraproject.org. This vulnerability is known as CVE-2019-9947 since 03/23/2019. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 45 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 237346 (F5 Networks BIG-IP : Python urllib vulnerability (K000151516)), which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237250 (Red Hat Update for python27-python and python27-python-jinja2 (RHSA-2019:1260)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Tenable (237346) and SecurityFocus (BID 105396†). See VDB-109585, VDB-113041, VDB-119652 and VDB-119653 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.6
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.1
VulDB Temp Score: 7.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.1
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Crlf injection
CWE: CWE-93 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237346
Nessus Name: F5 Networks BIG-IP : Python urllib vulnerability (K000151516)

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/22/2018 🔍
02/06/2019 +137 days 🔍
03/23/2019 +45 days 🔍
03/23/2019 +0 days 🔍
03/24/2019 +1 days 🔍
05/28/2025 +2257 days 🔍

Sourcesinfo

Advisory: RHSA-2019:1260
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2019-9947 (🔍)
GCVE (CVE): GCVE-0-2019-9947
GCVE (VulDB): GCVE-100-132133
SecurityFocus: 105396 - Python CVE-2018-14647 Remote Denial of Service Vulnerability

See also: 🔍

Entryinfo

Created: 03/24/2019 11:57
Updated: 05/28/2025 04:57
Changes: 03/24/2019 11:57 (62), 05/19/2020 13:01 (5), 08/04/2023 16:07 (3), 05/28/2025 04:57 (16)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!