Description
Erugo before 0.3.0 contains a brute force vulnerability that allows unauthenticated attackers to bypass email verification by guessing six-digit codes without rate limiting. Attackers can repeatedly submit guesses to POST /api/auth/verify-email to activate accounts for emails they do not control on allowed domains.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ErugoOSS | Erugo | 0 <0.3.0 | — |
References
- https://github.com/ErugoOSS/Erugo/blob/v0.2.15/app/Http/Controllers/SelfRegistrationController.php#L125-L165
- https://github.com/ErugoOSS/Erugo/blob/v0.2.15/routes/api.php#L45-L58
- https://github.com/ErugoOSS/Erugo/commit/9b1d0b19ce3f797e4b93728c6146602e69751b24
- https://github.com/ErugoOSS/Erugo/releases/tag/v0.3.0
- https://www.vulncheck.com/advisories/erugo-before-0.3.0-brute-force-via-unthrottled-email-verification-code