1. CVE archive
  2. 2018
  3. CVE-2018-18074

CVE-2018-18074

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – High

Description

The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
canonical ubuntu linux 18.10 –
opensuse leap 15.1 –
python requests < 2.20.0 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux server 7.0 –
redhat enterprise linux workstation 7.0 –

Vulnerability type

CWE-522 Insufficiently Protected Credentials

The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
An attacker could gain access to user accounts and access sensitive data used by the user accounts.

How to prevent it

Architecture and Design Use an appropriate security mechanism to protect the credentials.
Architecture and Design Make appropriate use of cryptography to protect the credentials.
Implementation Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).

All 1,447 CWE-522 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org