Description
Misaka Danmu Server through 2.8.9 contains an authentication bypass vulnerability that allows unauthenticated attackers to write arbitrary configuration keys via the unprotected POST /api/ui/config-history/rollback endpoint. Attackers can set the ipWhitelist key to their own /32 address, or alter trustedProxies and webhookApiKey, to access every protected endpoint as the administrator.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| l429609201 | misaka_danmu_server | ≤ 2.8.9 | — |
References
- https://hackmd.io/@hieuPenguinnn/misaka-danmu-server-ui-api-missing-authentication third-party-advisory
- https://github.com/l429609201/misaka_danmu_server/blob/v2.8.9/src/api/ui/config_history.py#L51-L66 technical-description
- https://github.com/l429609201/misaka_danmu_server/blob/v2.8.9/src/security.py#L136-L182 technical-description
- VulnCheck Advisory: Misaka Danmu Server through 2.8.9 Authentication Bypass via Config-History Rollback third-party-advisory