PT-2017-14495 · Openstack · Openstack Swift+1
Rahul U Nair
·
Published
2017-11-21
·
Updated
2022-05-17
·
CVE-2017-16613
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
OpenStack Swauth versions through 1.2.0
OpenStack Swift versions through 2.15.1
Description
An issue in the middleware.py component of OpenStack Swauth allows attackers to bypass authentication. This occurs because the Swift object store and proxy server save unhashed tokens from the Swauth middleware authentication mechanism to a log file as part of a GET URI. An attacker can exploit this by inserting a token into the X-Auth-Token header of a new request.
Recommendations
For OpenStack Swauth versions through 1.2.0, consider disabling the middleware.py component until a patch is available.
For OpenStack Swift versions through 2.15.1, restrict access to the log files that store the unhashed tokens to minimize the risk of exploitation.
Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openstack Swauth
Openstack Swift