logo

CVE-2024-42490 goauthentik.io

Package

Manager: go
Name: goauthentik.io
Vulnerable Version: >=2024.6.0-rc1 <2024.6.4 || >=0 <2024.4.4

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:H/SI:N/SA:H

EPSS: 0.00215 pctl0.44058

Details

GoAuthentik vulnerable to Insufficient Authorization for several API endpoints ### Summary Several API endpoints can be accessed by users without correct authentication/authorization. The main API endpoints affected by this: - `/api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/` - `/api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/` - `/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. ### Patches authentik 2024.4.4, 2024.6.4 and 2024.8.0 fix this issue. ### Workarounds Access to the API endpoints can be blocked at a Reverse-proxy/Load balancer level to prevent this issue from being exploited. ### For more information If you have any questions or comments about this advisory: - Email us at [security@goauthentik.io](mailto:security@goauthentik.io)

Metadata

Created: 2024-08-22T16:39:25Z
Modified: 2024-11-18T16:27:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-qxqc-27pr-wgc8/GHSA-qxqc-27pr-wgc8.json
CWE IDs: ["CWE-285", "CWE-863"]
Alternative ID: GHSA-qxqc-27pr-wgc8
Finding: F039
Auto approve: 1