CVE-2018-25091
Authorization Header forwarded on redirect
Auswirkung
urllib3 before 1.24.2 does not remove the authorization HTTP header when following a cross-origin redirect (i.e., a redirect that differs in host, port, or scheme). This can allow for credentials in the authorization header to be exposed to unintended hosts or transmitted in cleartext. NOTE: this issue exists because of an incomplete fix for CVE-2018-20060 (which was case-sensitive).
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | urllib3 | < 1.24.2 | 1.24.2 |
Betroffene Produkte · Python
| Produkt | Betroffene Versionen |
|---|---|
| Urllib3 | vor 1.24.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/urllib3/urllib3/commit/adb358f8e06865406d1f05e581a16cbea2136fbc
- https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2
- https://github.com/urllib3/urllib3/issues/1510
- https://github.com/advisories/GHSA-gwvm-45gx-3cf8
- https://nvd.nist.gov/vuln/detail/CVE-2018-25091
- https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-207.yaml