CVE-2024-52010
HIGH 8.6CVSS 4.0Zoraxy has an authenticated command injection in the Web SSH feature
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.
- Published
- 12 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-7hpf-g48v-hw3jGO-2024-3267
- Sources
- NVDJSONOSV GHSA-7hpf-g48v-hw3jJSONOSV GO-2024-3267JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | |
| OSV | GitHub | CVSS 3.1 | NONE 0.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/tobychui/zoraxy | >= 2.6.1, < 3.1.3 | 3.1.3 |
| OSV | Go | github.com/tobychui/zoraxy | < 3.1.3+incompatible | 3.1.3+incompatible |
References
- https://github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6 · WEB, FIX
- https://github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0 · WEB, FIX
- https://github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-52010 · ADVISORY
- https://github.com/tobychui/zoraxy · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3267 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Nov 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Nov 2024)