Credentials management in Requests - CVE-2018-18074
Published: July 26, 2019
Vulnerability identifier: #VU19388
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2018-18074
CWE-ID: CWE-255
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
Requests
IBM Watson Knowledge Catalog in Cloud Pak for Data
Fedora
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for x86_64
SUSE Manager Tools
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Advanced Systems Management
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Availability
Opensuse
python-pip (Red Hat package)
python-virtualenv (Red Hat package)
python-rfc3986
python3-urllib3
python-requests
python3-requests
python2-requests
python-pip-epel
QRadar Deployment Intelligence App
QRadar Assistant
IBM Watson Knowledge Catalog in Cloud Pak for Data
Fedora
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server
CentOS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for x86_64
SUSE Manager Tools
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Advanced Systems Management
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Availability
Opensuse
python-pip (Red Hat package)
python-virtualenv (Red Hat package)
python-rfc3986
python3-urllib3
python-requests
python3-requests
python2-requests
python-pip-epel
QRadar Deployment Intelligence App
QRadar Assistant
How to mitigate CVE-2018-18074
Install updates from vendor's website.
Requests - update to 2.20.0
IBM Watson Knowledge Catalog in Cloud Pak for Data - addressed in versions 4.8.9, 5.1.3
python-pip (Red Hat package) - addressed in versions 9.0.3-7.el7_7, 9.0.3-7.el7_8, 9.0.3-16.el8
python-virtualenv (Red Hat package) - addressed in versions 15.1.0-4.el7_7, 15.1.0-4.el7_8
python-rfc3986 - update to 1.3.0-1.el6
python3-urllib3 - update to 1.25.1-1.el6_10
python-requests - update to 2.11.1-6.31.1
python3-requests - addressed in versions 2.11.1-6.31.1, 2.18.4-150000.3.3.1
python3-requests - addressed in versions 2.14.2-2.el6_10, 2.14.2-2.el7
python2-requests - update to 2.18.4-150000.3.3.1
python-requests - addressed in versions 2.20.0-1.fc27, 2.20.0-1.fc28, 2.20.0-1.fc29
QRadar Deployment Intelligence App - update to 3.0.16
QRadar Assistant - update to 3.7.0
python-pip-epel - update to 8.1.2-12.el7
IBM Watson Knowledge Catalog in Cloud Pak for Data - addressed in versions 4.8.9, 5.1.3
python-pip (Red Hat package) - addressed in versions 9.0.3-7.el7_7, 9.0.3-7.el7_8, 9.0.3-16.el8
python-virtualenv (Red Hat package) - addressed in versions 15.1.0-4.el7_7, 15.1.0-4.el7_8
python-rfc3986 - update to 1.3.0-1.el6
python3-urllib3 - update to 1.25.1-1.el6_10
python-requests - update to 2.11.1-6.31.1
python3-requests - addressed in versions 2.11.1-6.31.1, 2.18.4-150000.3.3.1
python3-requests - addressed in versions 2.14.2-2.el6_10, 2.14.2-2.el7
python2-requests - update to 2.18.4-150000.3.3.1
python-requests - addressed in versions 2.20.0-1.fc27, 2.20.0-1.fc28, 2.20.0-1.fc29
QRadar Deployment Intelligence App - update to 3.0.16
QRadar Assistant - update to 3.7.0
python-pip-epel - update to 8.1.2-12.el7
External References
Related Security Bulletins
- OpenSUSE Linux update for python-requests
- Red Hat update for python-requests
- CentOS 7 update for python-virtualenv
- CentOS 7 update for python-pip
- Red Hat Enterprise Linux 8 update for python-pip
- Red Hat Enterprise Linux 8 update for the python27:2.7 module
- Red Hat Enterprise Linux 7 update for python-virtualenv
- Red Hat Enterprise Linux 7 update for python-pip
- Red Hat Enterprise Linux 7 update for python-pip
- Red Hat Enterprise Linux 7 update for python-virtualenv
- SUSE update for python-requests
- SUSE update for python-requests
- Multiple vulnerabilities in IBM QRadar Assistant
- Multiple vulnerabilities in IBM QRadar Deployment Intelligence App
- Fedora 29 update for python-requests
- Fedora 28 update for python-requests
- Fedora 27 update for python-requests
- Fedora EPEL 7 update for python3-requests
- Fedora EPEL 6 update for python-rfc3986, python3-requests, python3-urllib3
- Fedora EPEL 7 update for python-pip-epel
- Multiple vulnerabilities in IBM Watson Knowledge Catalog