Vulnerability · Published Aug 29, 2023 · Assigned by GitHub_M
CVE-2023-39522Username enumeration attack in goauthentik
Medium 5.3
In plain English
A medium-severity security flaw 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.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
goauthentik is an open-source Identity Provider. In affected versions using a recovery flow with an identification stage an attacker is able to determine if a username exists. Only setups configured with a recovery flow are impacted by this. Anyone with a user account on a system with the recovery flow described above is susceptible to having their username/email revealed as existing. An attacker can easily enumerate and check users' existence using the recovery flow, as a clear message is shown when a user doesn't exist. Depending on configuration this can either be done by username, email, or both. This issue has been addressed in versions 2023.5.6 and 2023.6.2. Users are advised to upgrade. There are no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @goauthentik/api | 2023.6.2 | GHSA-vmf9-6pcv-xr87 |
| npm | @goauthentik/api | 2023.5.6 | GHSA-vmf9-6pcv-xr87 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | >= 2023.6.0, < 2023.6.2< 2023.5.6 |
Weakness: CWE-203 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N