Vulnerability Description
Zoraxy is a general purpose HTTP reverse proxy and forwarding tool. A command injection vulnerability in the Web SSH feature allows an authenticated attacker to execute arbitrary commands as root on the host. Zoraxy has a Web SSH terminal feature that allows authenticated users to connect to SSH servers from their browsers. In HandleCreateProxySession the request to create an SSH session is handled. An attacker can exploit the username variable to escape from the bash command and inject arbitrary commands into sshCommand. This is possible, because, unlike hostname and port, the username is not validated or sanitized.
Related Weaknesses (CWE)
References
- https://github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4b
- https://github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8
- https://github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j
FAQ
What is CVE-2024-52010?
CVE-2024-52010 is a documented vulnerability. Zoraxy is a general purpose HTTP reverse proxy and forwarding tool. A command injection vulnerability in the Web SSH feature allows an authenticated attacker to execute arbitrary commands as root on t...
How severe is CVE-2024-52010?
CVSS scoring is not yet available for CVE-2024-52010. Check NVD for updates.
Is there a patch for CVE-2024-52010?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.