CVE-2017-16613
OpenStack Swauth object/proxy server writing Auth Token to log file
Also known as GHSA-qhq8-xwqv-pvv9, PYSEC-2017-84
Published 8 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
8.42% probability of exploitation in the next 30 days, higher than 95% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | swauth | <1.3.0 | 1.3.0 |
Classification
- Weakness
- CWE-287 Improper Authentication
References
- securityfocus.com /bid/101926 · vdb-entry, x_refsource_BID, x_transferred
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=882314 · x_refsource_CONFIRM, x_transferred
- debian.org /security/2017/dsa-4044 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- bugs.launchpad.net /swift/+bug/1655781 · x_refsource_CONFIRM, x_transferred
- github.com /openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298 · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2017-16613 · advisory
- github.com /openstack/swauth · package
- github.com /pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml · web
- web.archive.org /web/20200227140059/http://www.securityfocus.com/bid/101926 · web
- github.com /advisories/GHSA-qhq8-xwqv-pvv9 · advisory
Sources
- CVE List: CVE-2017-16613
- GitHub Advisory: GHSA-qhq8-xwqv-pvv9
- NVD: CVE-2017-16613
- OSV: PYSEC-2017-84
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.