Vulnerability · Published Sep 27, 2024 · Assigned by GitHub_M
CVE-2024-47077authentik cross-provider token validation problems
Medium 6.5
In plain English
A medium-severity incorrect authorization in authentik from goauthentik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities).
Official description
authentik is an open-source identity provider. Prior to versions 2024.8.3 and 2024.6.5, access tokens issued to one application can be stolen by that application and used to impersonate the user against any other proxy provider. Also, a user can steal an access token they were legitimately issued for one application and use it to access another application that they aren't allowed to access. Anyone who has more than one proxy provider application with different trust domains or different access control is affected. Versions 2024.8.3 and 2024.6.5 fix the issue.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | >= 2024.8.0-rc1, < 2024.8.3< 2024.6.5 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-8gfm-pr6x-pfh9 x_refsource_CONFIRM
- https://github.com/goauthentik/authentik/commit/22e586bd8cdc3d1db8a0f18314d76f82371129b2 x_refsource_MISC
- https://github.com/goauthentik/authentik/commit/57a31b5dd16d4adce716b9878455c0d6f58155fe x_refsource_MISC
- https://github.com/goauthentik/authentik/blob/70b5a214f2e7205572f914aaf68682501b9f5945/authentik/providers/oauth2/views/introspection.py#L42-L51 x_refsource_MISC
- https://github.com/goauthentik/authentik/blob/70b5a214f2e7205572f914aaf68682501b9f5945/internal/outpost/proxyv2/application/auth_bearer.go#L30-L36 x_refsource_MISC