GHSA-m6f8-hjrv-mw5f

Suggest an improvement
Source
https://github.com/advisories/GHSA-m6f8-hjrv-mw5f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-m6f8-hjrv-mw5f/GHSA-m6f8-hjrv-mw5f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m6f8-hjrv-mw5f
Aliases
Published
2023-03-27T22:17:57Z
Modified
2024-02-16T08:18:19.788609Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Apiman vulnerable to permissions bypass due to missing check on API key URL
Details

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

Database specific
{
    "nvd_published_at": "2023-03-27T21:15:00Z",
    "cwe_ids": [
        "CWE-269",
        "CWE-280",
        "CWE-862"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-03-27T22:17:57Z"
}
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
0Unknown introduced version / All previous versions are affected
Fixed
3.1.0.Final

Affected versions

1.*

1.0.0.Beta1
1.0.0.Beta2
1.0.0.Final
1.0.1.Final
1.0.2.Final
1.0.3.Final
1.1.0.RC1
1.1.0.RC3
1.1.0.Final
1.1.1.Final
1.1.2.Final
1.1.2.Preview1
1.1.2.Preview2
1.1.3.CR1
1.1.3.Final
1.1.4.Final
1.1.5.Final
1.1.6.Final
1.1.7.Final
1.1.8.Final
1.2.0.Alpha1
1.2.0.Alpha2
1.2.0.Alpha3
1.2.0.Beta1
1.2.0.Beta2
1.2.0.Beta3
1.2.0.Final
1.2.1.Final
1.2.2.Final
1.2.3.CR1
1.2.3.Final
1.2.4.Final
1.2.5.Final
1.2.6.Beta1
1.2.6.Beta3
1.2.6.Final
1.2.7.Beta1
1.2.7.Final
1.2.8.Final
1.2.9.Final
1.3.0.Final
1.3.1.Final
1.3.2.Final
1.3.3.Final
1.3.4.Final
1.3.5.Final
1.4.0.Final
1.4.1.Final
1.4.2.Final
1.4.3.Final
1.5.0.Final
1.5.1.Final
1.5.2.Final
1.5.3.Final
1.5.4.Final
1.5.5.Final
1.5.6.Final
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
3.0.0.Final
3.1.0.RC2
3.1.0.RC4
3.1.0.RC6

Database specific

{
    "last_known_affected_version_range": "< 3.0.0.Final"
}