Description
LangBot before 4.10.11 generates password recovery keys with only 24 bits of entropy and applies no rate limiting to the unauthenticated reset-password endpoint. Remote attackers knowing the administrator email can exhaust the keyspace through concurrent requests to reset the admin password and gain account access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langbot-app | LangBot | 4.0.8.1 – < 4.10.11 | 4.10.11 |
References
- GitHub Issue #2392 issue-tracking
- https://github.com/langbot-app/LangBot product
- https://github.com/langbot-app/LangBot/blob/v4.10.2/src/langbot/pkg/core/stages/genkeys.py technical-description
- https://github.com/langbot-app/LangBot/blob/v4.10.2/src/langbot/pkg/api/http/controller/groups/user.py technical-description
- https://github.com/langbot-app/LangBot/commit/267232c24f93c515d6fd3f7f81c0676066ab1ab8 patch
- VulnCheck Advisory: LangBot before 4.10.11 Authentication Bypass via Weak Recovery Key third-party-advisory