Description
Habitica through 5.53.1 contains a blind server-side request forgery vulnerability that allows authenticated users to reach internal services by registering webhooks with loopback, private, or metadata addresses. Attackers can register a webhook through POST /api/v3/user/webhook and trigger events like task updates to make the server send POST requests to unreachable internal hosts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HabitRPG | Habitica | ≤ 5.53.1 | — |
References
- https://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/libs/webhook.js#L12-L19 technical-description
- https://github.com/HabitRPG/habitica/blob/v5.53.1/website/server/models/webhook.js#L56-L64 technical-description
- VulnCheck Advisory: Habitica through 5.53.1 Blind SSRF via User Webhook URL third-party-advisory