Description
Vibe-Trading before 0.1.10 contains a DNS rebinding authentication bypass vulnerability that allows remote attackers to bypass bearer-token authentication by exploiting the server's trust of TCP peer addresses for loopback clients combined with missing Host header validation while binding to 0.0.0.0 with credentialed CORS. Attackers can craft a malicious DNS rebinding page to issue authenticated requests to the local API server, reach the shell execution endpoint with a bash-enabled preset, and achieve remote code execution as the API process user while also overwriting LLM and data-source settings to exfiltrate credentials.
Problem types
Product status
Any version before 0.1.10
Credits
Chia Min Jun Lennon
References
github.com/HKUDS/Vibe-Trading/releases/tag/v0.1.10 (Release Notes)
github.com/HKUDS/Vibe-Trading/pull/243 (Fix PR (shell tools / swarm runs))
github.com/HKUDS/Vibe-Trading/pull/242 (Fix PR (Host validation))
github.com/HKUDS/Vibe-Trading/pull/245 (Fix PR (settings write auth))
github.com/HKUDS/Vibe-Trading/pull/241 (Related Fix PR (loopback CSRF))
github.com/HKUDS/Vibe-Trading/pull/293 (Related Fix PR (cross-site CSRF))
www.vulncheck.com/...cation-bypass-and-remote-code-execution