Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. swauth
  4. ›
  5. CVE-2017-16613

CVE-2017-16613: OpenStack Swauth object/proxy server writing Auth Token to log file

May 17, 2022 (updated October 28, 2024)

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.

References

  • bugs.debian.org/cgi-bin/bugreport.cgi?bug=882314
  • bugs.launchpad.net/swift/+bug/1655781
  • github.com/advisories/GHSA-qhq8-xwqv-pvv9
  • github.com/openstack/swauth
  • github.com/openstack/swauth/commit/70af7986265a3defea054c46efc82d0698917298
  • github.com/pypa/advisory-database/tree/main/vulns/swauth/PYSEC-2017-84.yaml
  • nvd.nist.gov/vuln/detail/CVE-2017-16613
  • web.archive.org/web/20200227140059/http://www.securityfocus.com/bid/101926
  • www.debian.org/security/2017/dsa-4044

Code Behaviors & Features

Detect and mitigate CVE-2017-16613 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.0

Fixed versions

  • 1.3.0

Solution

Upgrade to version 1.3.0 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

pypi/swauth/CVE-2017-16613.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.