A vulnerability in Apiman has been disclosed that you need to be aware of and respond to. It has CVE ID CVE-2022-47551.
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.
This does NOT relate to the Apiman Gateway.
Broadly, your options are as follows:
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.
Some read permissions checks from the Apiman Manager REST API were removed as part of a large contribution that Apiman reviewers did not notice.
After making contact with the contributor, the intent of the change was to enable APIs published in an Apiman organization (analogous to a GitHub Organization) to be discovered by an external application — but Apiman did not offer a per-API implicit permissions system to achieve this until Apiman 3.0.0.Final, explicit membership of an organization was required.
The contributor removed certain permissions checks as a workaround for the lack of an implicit permissions system without recognising the security implications.
We have established additional processes to catch errors of this type in future.