#VU19388 Credentials management in Requests


Published: 2019-07-26

Vulnerability identifier: #VU19388

Vulnerability risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-18074

CWE-ID: CWE-255

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Requests
Universal components / Libraries / Scripting languages

Vendor: Python.org

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Requests: 0.9.0 - 2.19.1


External links
http://github.com/requests/requests/commit/c45d7c49ea75133e52ab22a8e9e13173938e36ff
http://github.com/requests/requests/issues/4716
http://github.com/requests/requests/pull/4718


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability