Improper Access Control Affecting goauthentik.io/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

    Threat Intelligence

    EPSS
    0.05% (17th 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 ID SNYK-GOLANG-GOAUTHENTIKIOAUTHENTIKCOREAPI-7413599
  • published 30 Jun 2024
  • disclosed 28 Jun 2024
  • credit Maor A

How to fix?

Upgrade goauthentik.io/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
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None