PYSEC-2017-84: Critical severity Openstack Swauth vulnerability

Published Nov 21, 2017
·
Updated

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.

Affected Software

2 affected components
Openstack Swauth<=1.2.0
Openstack Swift<=2.15.1

Event History

Nov 21, 2017
CVE Published
via OSV·01:29 PM
Data Sourced
via OSV·01:29 PM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using Swauth through 1.2.0 together with OpenStack Swift through 2.15.1 are affected. The issue involves the Swift object store and proxy server logging tokens obtained through Swauth middleware authentication.

2

What does an attacker need to exploit the vulnerability?

An attacker needs access to an unhashed authentication token written to the log as part of a GET URI. They can then place that token in an X-Auth-Token header on a new request to bypass authentication.

3

How can I determine whether tokens may already have been exposed?

Review Swift object store and proxy server logs for GET URIs containing Swauth authentication tokens. Because the tokens are logged unhashed, any such log entries should be treated as potential credential exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203