Description
Webreaper Damselfly through 4.5.3 contains an authentication bypass vulnerability that allows unauthenticated attackers to access all /api/* routes because controller authorization attributes are commented out. Attackers can send PUT /api/users with Admin roles to create administrator accounts, or POST /api/users to reset any user's password, gaining full control.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Webreaper | Damselfly | ≤ 4.5.3 | — |
References
- https://hackmd.io/@hieuPenguinnn/damselfly-api-missing-authorization third-party-advisory
- https://github.com/Webreaper/Damselfly/blob/4.5.3/Damselfly.Web.Server/Controllers/UserManagementController.cs#L8-L53 technical-description
- https://github.com/Webreaper/Damselfly/blob/4.5.3/Damselfly.Web.Server/Program.cs#L238-L242 technical-description
- https://github.com/Webreaper/Damselfly/issues/409 issue-tracking
- VulnCheck Advisory: Webreaper Damselfly through 4.5.3 Missing Authentication on REST API Controllers third-party-advisory