cve.bz

CVE-2024-52010

8.6 highEPSS 1.5%

High (8.6). EPSS 1.5% chance of exploitation in the next 30 days. Fixed in github.com/tobychui/zoraxy 3.1.3, 3.1.3+incompatible.

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.

Severity

CVSS 4.0

8.6 high
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
EPSS
1.5% chance of exploitation in the next 30 days; higher than 74% of CVEs (scores of 2026-10-31)
CWE
CWE-78
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7hpf-g48v-hw3jGogithub.com/tobychui/zoraxy>=2.6.1 <3.1.33.1.3
GO-2024-3267Gogithub.com/tobychui/zoraxy<3.1.3+incompatible3.1.3+incompatible

References

Check your stackJSON