CVE-2017-16613

critical
Published 2017-11-21 · Modified 2024-05-01
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
7.5
VIR risk
9.8

Description

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.

Predictions

Exploit likelihood
97%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://bugs.launchpad.net/swift/+bug/1655781

vendor Authored 2026-05-27

Vendor advisory: cve@mitre.org — https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314

OS impact

OSVersionStatusFixed in
debian debian9.0affected

Package impact

EcosystemPackageVulnerableFixed
python PyPIswauth<1.3.01.3.0
python PyPIswauth<70af7986265a3defea054c46efc82d0698917298||<1.3.070af7986265a3defea054c46efc82d0698917298

Application impact

VendorProductVersionsFixed
openstackswauth{"endIncluding":"1.2.0"}
openstackswift{"endIncluding":"2.15.1"}

References

CWEs

CWE-287

Verify integrity in audit chain (admin only). AS-IS.