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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
l429609201 misaka_danmu_server
Default version status: unaffected
0 to ≤ 2.8.9affected
pkg:github/l429609201/misaka_danmu_serverReferences
- https://hackmd.io/@hieuPenguinnn/misaka-danmu-server-ui-api-missing-authentication ↗
- https://github.com/l429609201/misaka_danmu_server/blob/v2.8.9/src/api/ui/config_history.py#L51-L66 ↗
- https://github.com/l429609201/misaka_danmu_server/blob/v2.8.9/src/security.py#L136-L182 ↗
- https://www.vulncheck.com/advisories/misaka-danmu-server-through-2.8.9-authentication-bypass-via-config-history-rollback ↗