Skip to content

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

HighCVSS 7.5 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
goauthentik.io(Go) < 2024.4.4; >= 2024.6.0-rc1, < 2024.6.4; All versions 2024.4.4, 2024.6.4 Partially fixed
goauthentik authentik < 2024.4.4; = < 2024.4.4; = >= 2024.6.0-rc1, < 2024.6.4; >= 2024.6.0, < 2024.6.4 2024.4.4, 2024.6.4 Fixed

Affected products

ProductAffected versionsFixed in
goauthentik.io(Go) >= 2024.6.0-rc1, < 2024.6.4 2024.6.4
goauthentik.io(Go) < 2024.4.4 2024.4.4
goauthentik.io(Go) All versions No fix listed
goauthentik authentik = < 2024.4.4 No fix listed
goauthentik authentik = >= 2024.6.0-rc1, < 2024.6.4 No fix listed
goauthentik authentik < 2024.4.4 2024.4.4
goauthentik authentik >= 2024.6.0, < 2024.6.4 2024.6.4

References