Skip to content

Apiman has potential permissions bypass

High severity GitHub Reviewed Published Dec 28, 2022 in apiman/apiman • Updated Jan 11, 2023

Package

maven io.apiman:apiman-manager-api-rest-impl (Maven)

Affected versions

>= 1.5.7, <= 2.2.3.Final

Patched versions

3.0.0.Final

Description

Impact

Incorrect default permissions for certain read-only resources in the Apiman 1.5.7.Final through 2.2.3.Final in the Apiman Manager REST API allows a remote authenticated attacker to access information and resources in an Apiman Organizations they are not a member of and/or do not have permissions for.

For example, an attacker may be able to craft an HTTP request to discover APIs that are private to organizations they are not members of, via fuzzing, search, and other similar mechanisms.

If the attacker has sufficient permissions in their own organization, they may also be able to sign up to the private APIs they have discovered by crafting a tailored HTTP request, thereby gaining access to an API Management protected resource that they should have access to.

  • A malicious account-holder may be able to see information about APIs they do not have permission for.

  • A malicious account-holder may be able to sign up to APIs they do not have permission for, and hence access API Management-protected resources they are not authorized to access.

  • This does NOT relate to the Apiman Gateway.

Patches

  • Upgrade to Apiman 3.0.0.Final (or later). The issue is fixed in this version.

  • If you are using an older version of Apiman, contact to your Apiman support provider for advice/long-term support.

References

References

@msavy msavy published to apiman/apiman Dec 28, 2022
Published to the GitHub Advisory Database Jan 3, 2023
Reviewed Jan 3, 2023
Last updated Jan 11, 2023

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

EPSS score

0.065%
(30th percentile)

Weaknesses

No CWEs

CVE ID

CVE-2022-47551

GHSA ID

GHSA-j94p-hv25-rm5g

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.