CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Goauthentik

CVE-2024-23647
Goauthentik Authentik vulnerability

Authentik is an open-source Identity Provider. There is a bug in our implementation of PKCE that allows an attacker to circumvent the protection that PKCE offers. PKCE adds the code_challenge parameter to the authorization request and adds the code_verifier parameter to the token request. Prior to 2023.8.7 and 2023.10.7, a downgrade scenario is possible: if the attacker removes the code_challenge parameter from the authorization request, authentik will not do the PKCE check. Because of this bug, an attacker can circumvent the protection PKCE offers, such as CSRF attacks and code injection attacks. Versions 2023.8.7 and 2023.10.7 fix the issue.

Affected products

Authentik. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Goauthentik Authentik runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Goauthentik products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.