CVE-2024-52010

High

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.

SeverityHigh
CVSS8.6
Exploit probability—
ProductGithub.com/tobychui/zoraxy
PublishedNov 12, 2024
First seenNov 12, 2024

How to fix

Update
  • github.com/tobychui/zoraxy3.1.3, 3.1.3+incompatible or later

Affected products

ProductAffected versionsFixed in
github.com/tobychui/zoraxyGo2.6.1 ≤ v < 3.1.3, v < 3.1.3+incompatible3.1.3, 3.1.3+incompatible

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.