VDB
EN
MEDIUM 5.3

GHSA-vmf9-6pcv-xr87

Username enumeration attack in goauthentik

상세

## Summary Using a recovery flow with an identification stage an attacker is able to determine if a username exists.

## Impact 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.

## Details

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.

The invalid and valid usernames should both show the same message and always send an email. Article for reference here: https://postmarkapp.com/guides/password-reset-email-best-practices#how-to-make-sure-your-password-reset-emails-are-secure

### For more information

If you have any questions or comments about this advisory:

- Email us at [security@goauthentik.io](mailto:security@goauthentik.io)

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / @goauthentik/api
최초 영향 버전: 2023.6.0 수정 버전: 2023.6.2
수정 npm install @goauthentik/api@2023.6.2
npm / @goauthentik/api
최초 영향 버전: 0 수정 버전: 2023.5.6
수정 npm install @goauthentik/api@2023.5.6

참고