{"id":"CVE-2017-16613","published":"2017-11-21T13:00:00Z","modified":"2024-08-05T20:27:04Z","title":"An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08582,"percentile":0.952,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/101926","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2017/dsa-4044","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugs.launchpad.net/swift/+bug/1655781","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298","tags":["x_refsource_CONFIRM"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":19.04}]},"affected":[{"ecosystem":"PyPI","package":"swauth","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-qhq8-xwqv-pvv9","PYSEC-2017-84"],"provenance":"source"}],"summary":{"text":"The flaw is in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1, where the Swift object store and proxy server write unhashed authentication tokens obtained from the Swauth middleware into a log file as part of a GET URI. An attacker who can read that log can bypass authentication by inserting a captured token into the X-Auth-Token header of a new request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:54:04Z"},"euvd":{"id":"EUVD-2017-0133","exploited":false,"provenance":"source"}}