CVE-2017-16613
OpenStack Swauth object/proxy server writing Auth Token to log file
Auswirkung
An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1. The Swift object store and proxy server are saving (unhashed) tokens retrieved from the Swauth middleware authentication mechanism to a log file as part of a GET URI. This allows attackers to bypass authentication by inserting a token into an X-Auth-Token header of a new request. NOTE: github.com/openstack/swauth URLs do not mean that Swauth is maintained by an official OpenStack project team.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | swauth | < 1.3.0 | 1.3.0 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Debian | Debian Linux | Version 9.0 |
| Openstack | Swauth | bis einschließlich 1.2.0 |
| Openstack | Swift | bis einschließlich 2.15.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://www.securityfocus.com/bid/101926
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314
- https://bugs.launchpad.net/swift/+bug/1655781
- https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298
- https://www.debian.org/security/2017/dsa-4044
- https://github.com/advisories/GHSA-qhq8-xwqv-pvv9
- https://nvd.nist.gov/vuln/detail/CVE-2017-16613
- https://web.archive.org/web/20200227140059/http://www.securityfocus.com/bid/101926
- https://github.com/pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml