authentik is an open-source identity provider. Due to the usage of a non-constant time comparison for the /-/metrics/ endpoint it was possible to brute-force the SECRET_KEY, which is used to authenticate the endpoint. The /-/metrics/ endpoint returns Prometheus metrics and is not intended to be accessed directly, as the Go proxy running in the authentik server container fetches data from this endpoint and serves it on a separate port (9300 by default), which can be scraped by Prometheus without being exposed publicly. authentik 2024.8.5 and 2024.10.3 fix this issue. Since the /-/metrics/ endpoint is not intended to be accessed publicly, requests to the endpoint can be blocked by the reverse proxy/load balancer used in conjunction with authentik.
Metrics
Affected Vendors & Products
References
History
Wed, 27 Nov 2024 16:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Thu, 21 Nov 2024 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Goauthentik
Goauthentik authentik |
|
CPEs | cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:* | |
Vendors & Products |
Goauthentik
Goauthentik authentik |
|
Metrics |
ssvc
|
Thu, 21 Nov 2024 17:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | authentik is an open-source identity provider. Due to the usage of a non-constant time comparison for the /-/metrics/ endpoint it was possible to brute-force the SECRET_KEY, which is used to authenticate the endpoint. The /-/metrics/ endpoint returns Prometheus metrics and is not intended to be accessed directly, as the Go proxy running in the authentik server container fetches data from this endpoint and serves it on a separate port (9300 by default), which can be scraped by Prometheus without being exposed publicly. authentik 2024.8.5 and 2024.10.3 fix this issue. Since the /-/metrics/ endpoint is not intended to be accessed publicly, requests to the endpoint can be blocked by the reverse proxy/load balancer used in conjunction with authentik. | |
Title | authentik allows a timing attack due to missing constant time comparison for metrics view | |
Weaknesses | CWE-208 | |
References |
| |
Metrics |
cvssV4_0
|
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-11-21T17:14:51.677Z
Updated: 2024-11-27T16:03:20.897Z
Reserved: 2024-11-06T19:00:26.397Z
Link: CVE-2024-52307
Vulnrichment
Updated: 2024-11-27T16:03:20.897Z
NVD
Status : Awaiting Analysis
Published: 2024-11-21T18:15:12.443
Modified: 2024-11-27T16:15:14.433
Link: CVE-2024-52307
Redhat
No data.