Credentials management in Requests - CVE-2018-18074

 

Credentials management in Requests - CVE-2018-18074

Published: July 26, 2019


Vulnerability identifier: #VU19388
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2018-18074
CWE-ID: CWE-255
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Python.org
Affected software:
Requests

Detailed vulnerability description

The vulnerability allows a remote attacker to access sensitive information on a targeted system.

The vulnerability exists due to the software does not remove the HTTP Authorization header when following an HTTPS-to-HTTP redirect with the same hostname. A remote attacker who is able to perform a man-in-the-middle attack can sniff network traffic in transit between two systems on the targeted network and access sensitive information, such as user credentials.

How to mitigate CVE-2018-18074

Install updates from vendor's website.

Sources