authentik allows a timing attack due to missing constant time comparison for metrics view
Published Nov 21, 2024
6.3
MEDIUMCVSS 4.0
EPSS 0.55%
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.
Affected products
-
- Version < 2024.8.5StatusaffectedConstraints-
- Version >= 2024.10.0-rc1, < 2024.10.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Goauthentik | Authentik | n/a |
|
- < 2024.8.5
- ≥ 2024.10.0 · < 2024.10.3
-
- Version 0StatusaffectedConstraints<2024.8.5
- Version 2024.10.0-rc1StatusaffectedConstraints<2024.10.3
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Goauthentik | Authentik | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- http://www.openwall.com/lists/oss-security/2024/11/27/1 Mailing List
- https://github.com/goauthentik/authentik/commit/5ea4580884f99369f0ccfe484c04cb03a66e65b8 x_refsource_MISCPatch
- https://github.com/goauthentik/authentik/security/advisories/GHSA-2xrw-5f2x-m56j x_refsource_CONFIRMMitigationVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2024/11/27/1 | Mailing List | |
| https://github.com/goauthentik/authentik/commit/5ea4580884f99369f0ccfe484c04cb03a66e65b8 | x_refsource_MISCPatch | |
| https://github.com/goauthentik/authentik/security/advisories/GHSA-2xrw-5f2x-m56j | x_refsource_CONFIRMMitigationVendor Advisory |
Change history (0)
No recorded changes yet.