Description
Hermes WebUI before 0.51.788 contains an unauthenticated remote code execution vulnerability that allows remote attackers to execute arbitrary shell commands by accessing the embedded terminal API endpoints without credentials. Attackers can create a session, attach a PTY shell, and write arbitrary commands through the terminal input endpoint to achieve full command execution as the server process user via four sequential unauthenticated HTTP requests.
Problem types
Missing Authentication for Critical Function
Product status
Any version before 0.51.788
Credits
Katriel Moses
VulnCheck
References
github.com/nesquena/hermes-webui/releases/tag/v0.51.788 (Release Notes)
github.com/nesquena/hermes-webui/pull/5268 (Pull Request)
github.com/...ommit/d257e5f36cfa9328600c8bde6f0de09a6ad9b6f4 (Patch Commit)
www.vulncheck.com/...ui-unauthenticated-rce-via-terminal-api