GHSA-j94p-hv25-rm5g

Suggest an improvement
Source
https://github.com/advisories/GHSA-j94p-hv25-rm5g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-j94p-hv25-rm5g/GHSA-j94p-hv25-rm5g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j94p-hv25-rm5g
Aliases
Published
2023-01-03T12:28:06Z
Modified
2024-12-08T05:34:13.770394Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Apiman has potential permissions bypass
Details

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

  • https://www.apiman.io/blog/permissions-bypass-disclosure/
  • https://github.com/advisories/GHSA-54r5-wr8x-x5v3
  • https://nvd.nist.gov/vuln/detail/CVE-2022-47551
  • https://github.com/orgs/apiman/discussions/2409
Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-03T12:28:06Z"
}
References

Affected packages

Maven / io.apiman:apiman-manager-api-rest-impl

Package

Name
io.apiman:apiman-manager-api-rest-impl
View open source insights on deps.dev
Purl
pkg:maven/io.apiman/apiman-manager-api-rest-impl

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.5.7
Fixed
3.0.0.Final

Affected versions

1.*

1.5.7.Final

2.*

2.0.0.Final
2.1.0.Final
2.1.1.Final
2.1.2.Final
2.1.3.Final
2.1.4.Final
2.1.5.Final
2.2.0.Final
2.2.1.Final
2.2.2.Final
2.2.3.Final

3.*

3.0.0.RC6

Database specific

{
    "last_known_affected_version_range": "<= 2.2.3.Final"
}