Improper Access Control Affecting github.com/goauthentik/authentik/authentik/core/api package, versions >=2024.4.0-rc1 <2024.4.3>=2024.2.0-rc1 <2024.2.4>=2024.6.0-rc1 <2024.6.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOAUTHENTIKAUTHENTIKAUTHENTIKCOREAPI-7413598
  • published30 Jun 2024
  • disclosed28 Jun 2024
  • creditMaor A

Introduced: 28 Jun 2024

CVE-2024-37905  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/goauthentik/authentik/authentik/core/api to version 2024.4.3, 2024.2.4, 2024.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control through the API-Access-Token mechanism. An attacker can gain full admin access, including resetting user passwords and more, by exploiting this mechanism.

Workaround

As a workaround it is possible to block any requests to /api/v3/core/tokens* at the reverse-proxy/load-balancer level. Doing so prevents this issue from being exploted.

CVSS Scores

version 4.0
version 3.1