Access Restriction Bypass Affecting swauth package, versions [,1.3.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SWAUTH-40766
  • published7 Dec 2017
  • disclosed20 Nov 2017
  • creditUnknown

Introduced: 20 Nov 2017

CVE-2017-16613  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade swauth to version 1.3.0 or higher.

Overview

swauth is An alternative authentication system for Swift.

Affected versions of the package are vulnerable to Access Restriction Bypass. 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.

References

CVSS Scores

version 3.1