Description
LobeHub through 2.3.6 contains an information disclosure vulnerability that allows unauthenticated attackers to obtain account email addresses by submitting usernames to /api/auth/resolve-username. Attackers can send POST requests with known or guessed usernames, lacking session checks or rate limiting, to enumerate accounts and harvest emails in bulk.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lobehub | lobehub | 0 ≤2.3.6 | — |
References
- https://github.com/lobehub/lobehub/blob/v2.3.6/src/app/(backend)/api/auth/resolve-username/route.ts#L18-L46
- https://github.com/lobehub/lobehub/blob/v2.3.6/src/libs/next/proxy/define-config.ts#L211-L216
- https://www.vulncheck.com/advisories/lobehub-through-2.3.6-email-disclosure-via-api-auth-resolve-username