Skip to main content
← All vulnerabilities
CVE-2024-52010GHSA-7HPF-G48V-HW3JGO-2024-3267

Zoraxy has an authenticated command injection in the Web SSH feature

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.3, 3.1.3+incompatible
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • tobychui zoraxy

    From 2.6.1 · fixed in 3.1.3

  • github.com/tobychui/zoraxyGo

    From 2.6.1 · fixed in 3.1.3

  • github.com/tobychui/zoraxyGo

    fixed in 3.1.3+incompatible

References 4

GitHub · tobychui/zoraxy

GitHub · iuds/-CVE-2024-52010-