Descrizione
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.
Tipo di vulnerabilità
CWE-522
Credenziali protette in modo insufficiente
Il prodotto trasmette o conserva credenziali di autenticazione con un metodo insicuro, che ne permette l’intercettazione o il recupero da parte di terzi.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Use an appropriate security mechanism to protect the credentials.
Architettura e progettazione
Make appropriate use of cryptography to protect the credentials.
Sviluppo
Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).
Tutte le 1.438 CVE di tipo CWE-522, con andamento e prevenzione