CVE-2024-52010
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/tobychui/zoraxyGo | >= 2.6.1, < 3.1.3 | 3.1.3 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/tobychui/zoraxypkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweed
>= 2.6.1, < 3.1.3+ 1 more
- (no CPE)range: >= 2.6.1, < 3.1.3
- (no CPE)range: < 0.0.20241119T173509-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-7hpf-g48v-hw3jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-52010ghsaADVISORY
- github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6nvdWEB
- github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0nvdWEB
- github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3jnvdWEB
- pkg.go.dev/vuln/GO-2024-3267ghsaWEB
News mentions
0No linked articles in our index yet.