Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1tNmY4LWhqcnYtbXc1Zs4AAyWz

Apiman vulnerable to permissions bypass due to missing check on API key URL

Impact

Due to a missing permissions check, an attacker with an authenticated Apiman Manager account may be able to gain access to API keys they do not have permission for if they correctly guess the URL. The URL includes Organisation ID, Client ID, and Client Version of the targeted non-permitted resource, and each of these can have arbitrary values.

While not trivial to exploit, it could be achieved by brute-forcing or guessing common names.

Access to the non-permitted API Keys could allow use of other users' resources without their permission (depending on the specifics of configuration, such as whether an API key is the only form of security).

Patches

Apiman 3.1.0.Final and later resolves this issue.

Workarounds

Only provide Apiman Manager accounts to known users, do not allow anonymous/unknown users to create an Apiman Manager account.

Note that this does not affect the Apiman Gateway.

References

Permalink: https://github.com/advisories/GHSA-m6f8-hjrv-mw5f
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tNmY4LWhqcnYtbXc1Zs4AAyWz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago


CVSS Score: 6.4
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Identifiers: GHSA-m6f8-hjrv-mw5f, CVE-2023-28640
References: Repository: https://github.com/apiman/apiman
Blast Radius: 7.7

Affected Packages

maven:io.apiman:apiman-manager-api-rest-impl
Dependent packages: 7
Dependent repositories: 16
Downloads:
Affected Version Ranges: < 3.0.0.Final
Fixed in: 3.1.0.Final
All affected versions:
All unaffected versions: