CVE-2019-19687 OpenStack Keystone Credential Leakage

High 8.8 Published Updated

Attackers with project roles can view other users' credentials, including TOTP secrets, when enforce_scope is disabled in OpenStack Keystone.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-19687?

CVE-2019-19687 is a high-severity missing authorization vulnerability in n/a, published on 9 Dec 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenStack Keystone 15.0.0 and 16.0.0 is affected by Data Leakage in the list credentials API. Any user with a role on a project is able to list any credentials with the /v3/credentials API when enforce_scope is false. Users with a role on a project are able to view any other users' credentials, which could (for example) leak sign-on information for Time-based One Time Passwords (TOTP). Deployments with enforce_scope set to false are affected. (There will be a slight performance impact for the list credentials API once this issue is fixed.)

Weakness: CWE-522

Which versions are affected by CVE-2019-19687?

5 open source packages ship an affected version, including keystone. It affects 1 product.

PackageAffectedFixed in
keystone PyPIAll versions16.0.1
keystone PyPIFrom 15.0.015.0.1
keystone PyPIFrom 15.0.015.0.1
keystone PyPIFrom 16.0.016.0.1
keystone PyPIFrom 16.0.016.0.1
Linux distribution packages (2)
openstack-keystone Red Hat:openstack:15::el8All versions1:15.0.1-0.20190720060412.5f27c4b.1.el8ost
python3-keystone Red Hat:openstack:15::el8All versions1:15.0.1-0.20190720060412.5f27c4b.1.el8ost

Products include Openstack Keystone.

How do I fix CVE-2019-19687?

Upgrade keystone to a fixed version for your release line: 16.0.1 or 15.0.1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2019-19687 being exploited?

There is no known exploitation of CVE-2019-19687 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-19687, GHSA-2j23-fwqm-mgwr, PYSEC-2019-29, RHSA-2019:4358.

Is CVE-2019-19687 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free