CVE-2024-52010
Zoraxy is a general purpose HTTP reverse proxy and forwarding tool. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6
- github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0
- github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j
- nvd.nist.gov/vuln/detail/CVE-2024-52010
- pkg.go.dev/vuln/GO-2024-3267
- github.com/advisories/GHSA-7hpf-g48v-hw3j
- nvd.nist.gov/vuln/detail/CVE-2024-52010
- cve.org/CVERecord?id=CVE-2024-52010
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.