1. CVE archive
  2. 2017
  3. CVE-2017-16613

CVE-2017-16613

9.8 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critical

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.

Affected products

VendorProductVersionPlatform
debian debian linux 9.0 –
openstack swauth <= 1.2.0 –
openstack swift <= 2.15.1 –
All 19 Openstack Swift vulnerabilities

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,303 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org