Vulnerability · Published Aug 22, 2024 · Assigned by GitHub_M

CVE-2024-42490authentik has Insufficient Authorization for several API endpoints

High 7.5

In plain English

A high-severity security flaw in authentik from goauthentik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 58.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

authentik is an open-source Identity Provider. Several API endpoints can be accessed by users without correct authentication/authorization. The main API endpoints affected by this are /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/, /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/, and /api/v3/.../used_by/. Note that all of the affected API endpoints require the knowledge of the ID of an object, which especially for certificates is not accessible to an unprivileged user. Additionally the IDs for most objects are UUIDv4, meaning they are not easily guessable/enumerable. authentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogoauthentik.io2024.6.4GHSA-qxqc-27pr-wgc8
Gogoauthentik.io2024.4.4GHSA-qxqc-27pr-wgc8
Gogoauthentik.iono fix listedGO-2024-3085

Affected products (as reported)

VendorProductVersions
goauthentik authentik < 2024.4.4>= 2024.6.0-rc1, < 2024.6.4

Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

References