GitHub Advisoryadvisory · PyPI

GHSA-qhq8-xwqv-pvv9 OpenStack Swauth object/proxy server writing Auth Token to log file

CRITICAL Published 2022-05-17 Modified 2024-10-28 Official page ↗
Aliases
CVE-2017-16613
Ecosystem
PyPI
Packages
swauth
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-287
Reviewed
2024-05-01

Affected packages

• PyPI swauth: < 1.3.0 → fixed in 1.3.0

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.

Related

Alias · CVE (1)

  • CVE-2017-16613 An issue was discovered in middleware.py in OpenStack Swauth through 1.2.0 when used with OpenStack Swift through 2.15.1. vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References