CVE-2022-3100: Medium severity Openstack barbican vulnerability

Published Sep 8, 2022
·
Updated

A flaw was found in the openstack-barbican component. This issue allows an access policy bypass via a query string when accessing the API.

Other sources

Barbican is including the contents of the request query string in the target data that is used by oslo.policy to enforce policy.

Since oslo.policy uses this data to do string interpolation into the policy rules before enforcing the policy, it gives a malicious user the opportunity to craft query strings to manipulate the policy in arbitrary ways.

For example, a malicious user with a Keystone account is able to decrypt any secret as long as they know the secret's ID by using a specifically crafted query string:

GET /v1/secrets/{secret-id}/payload?target.secret.read=read

Using this query string, the malicious user is able to fool Barbican into thinking that the user is in the ACL for the secret, which allows for secret decryption. Since the query string is applied to the target data after the data is fetched from the database, the user-provided query string overrides any values stored in the DB. In this case, overriding "target.secret.read" to "read", which should only be set when a user is added to the ACL.

— Red Hat

Affected Software

17 affected componentsFixes available
Openstack barbican
redhat Openstack=13
redhat Openstack=16.1
redhat Openstack=16.2
redhat Openstack=17
redhat Openstack For Ibm Power=13
redhat Openstack For Ibm Power=16.1
redhat Openstack For Ibm Power=16.2
redhat Openstack Platform=13.0
redhat Enterprise Linux Eus=7.6
All of the following
redhat Openstack Platform=13.0
redhat Enterprise Linux Eus=7.6
debian/barbican<1:15.0.0~rc3-1
1:15.0.0~rc3-1
debian/barbican<1:15.0.0~rc3-1
1:15.0.0~rc3-1
debian/barbican<1:15.0.0~rc3-1
1:15.0.0~rc3-1
debian/barbican
1:15.0.1-21:20.0.0-31:23.0.0-4
redhat/openstack-barbican-12.0.1<0.20220614210405
0.20220614210405

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/barbican to a version that resolves this vulnerability.

    Fixed in 1:15.0.1-2Fixed in 1:20.0.0-3Fixed in 1:23.0.0-4
  2. Upgrade

    Upgrade redhat/openstack-barbican-12.0.1 to a version that resolves this vulnerability.

    Fixed in 0.20220614210405
  3. Upgrade

    Upgrade debian/barbican to a version that resolves this vulnerability.

    Fixed in 1:15.0.0~rc3-1

Event History

Sep 8, 2022
Data Sourced
via Red Hat·09:16 PM
DescriptionSeverityAffected Software
Jan 18, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-3100?

CVE-2022-3100 is a vulnerability found in the openstack-barbican component that allows an access policy bypass via a query string when accessing the API.

2

What is the severity of CVE-2022-3100?

CVE-2022-3100 has a severity rating of 5.9, which is considered medium.

3

Which software is affected by CVE-2022-3100?

The OpenStack Barbican component and various versions of Redhat Openstack, Redhat Openstack for IBM Power, and Redhat Openstack Platform are affected by CVE-2022-3100.

4

How can I fix CVE-2022-3100?

To fix CVE-2022-3100, it is recommended to apply the necessary patches or updates provided by the vendor.

5

Where can I find more information about CVE-2022-3100?

More information about CVE-2022-3100 can be found at the following reference: https://access.redhat.com/security/cve/CVE-2022-3100

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203