Missing Authorization Affecting github.com/goauthentik/authentik package, versions <2024.4.4>=2024.6.0-rc1 <2024.6.4


Severity

Recommended
0.0
medium
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 Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOAUTHENTIKAUTHENTIK-7856130
  • published1 Sept 2024
  • disclosed30 Aug 2024
  • creditMaor A

Introduced: 30 Aug 2024

CVE-2024-42490  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/goauthentik/authentik to version 2024.4.4, 2024.6.4 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization at the following endpoints:

  • /api/v3/crypto/certificatekeypairs/<uuid>/view_certificate/

  • /api/v3/crypto/certificatekeypairs/<uuid>/view_private_key/

  • /api/v3/.../used_by/

An attacker who can guess a UUIDv4 ID for one of the vulnerable objects at these endpoints, or compromise a privileged account to enumerate them, can expose sensitive information that can be used to further compromise the system.

Workaround

This vulnerability can be avoided by blocking access to the vulnerable endpoints using a reverse proxy.

CVSS Scores

version 4.0
version 3.1