Lucene search

K
githubGitHub Advisory DatabaseGHSA-QXQC-27PR-WGC8
HistoryAug 22, 2024 - 4:39 p.m.

GoAuthentik vulnerable to Insufficient Authorization for several API endpoints

2024-08-2216:39:25
CWE-285
CWE-863
GitHub Advisory Database
github.com
15
insufficient authorization
api endpoints
authentication
authorization
patches
workarounds
security advisory
email.

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.4%

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:

Affected configurations

Vulners
Node
goauthentik.ioRange<2024.4.4
OR
goauthentik.ioRange<2024.6.4
VendorProductVersionCPE
*goauthentik.io*cpe:2.3:a:*:goauthentik.io:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.4%

Related for GHSA-QXQC-27PR-WGC8