Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| l429609201 / misaka_danmu_server | affected 0 through 2.8.9 |
CWE
CWE-306
References
- 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
ADP enrichment
No English description supplied.