Skip to content
OpenAdvisories
High · 8.6 Public exploit CVE-2024-52010 EUVD-2024-3209GHSA-7hpf-g48v-hw3jGO-2024-3267

Zoraxy has an authenticated command injection in the Web SSH feature

Published Nov 12, 2024 · Updated Nov 21, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
tobychui zoraxy >= 2.6.1, < 3.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241119T173509-1.1 openSUSE-SU-2024:14513-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tobychui/zoraxy >= 2.6.1, < 3.1.3 3.1.3 GHSA-7hpf-g48v-hw3j
Go github.com/tobychui/zoraxy < 3.1.3+incompatible 3.1.3+incompatible GO-2024-3267

Advisories 1

References