Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.apiman/apiman-manager-api-rest-impl
  4. ›
  5. CVE-2023-28640

CVE-2023-28640: Apiman vulnerable to permissions bypass due to missing check on API key URL

March 27, 2023

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

  • Blog post disclosing issue

References

  • github.com/advisories/GHSA-m6f8-hjrv-mw5f
  • github.com/apiman/apiman/security/advisories/GHSA-m6f8-hjrv-mw5f
  • nvd.nist.gov/vuln/detail/CVE-2023-28640
  • www.apiman.io/blog/potential-permissions-bypass-disclosure/

Code Behaviors & Features

Detect and mitigate CVE-2023-28640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 3.0.0.final

Fixed versions

  • 3.1.0.Final

Solution

Upgrade to version 3.1.0.Final or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Source file

maven/io.apiman/apiman-manager-api-rest-impl/CVE-2023-28640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:43 +0000.