Skip to content
Heist/ feed
Back to feed
High

Zoraxy has an authenticated command injection in the Web SSH feature

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-52010
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:11 UTC · Revision 1

Source evidence

Zoraxy has an authenticated command injection in the Web SSH feature

core-osv · Original source

Published 12 Nov 2024, 16:06 UTC

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.

osv:CVE-2024-52010
Complete source record
{
  "id": "535d8544f2ef78fee37fdcb46b8c975e69a3052e3fdbb9a7ed0e4f568c03e0fe",
  "url": "https://osv.dev/vulnerability/CVE-2024-52010",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Zoraxy has an authenticated command injection in the Web SSH feature",
    "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.",
    "evidence": "osv:CVE-2024-52010",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-52010",
      "aliases": [
        "CVE-2024-52010",
        "GHSA-7hpf-g48v-hw3j",
        "GO-2024-3267"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tobychui/zoraxy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2e9bc77a5d832bff1093058d42ce7a61382e4bc6"
                },
                {
                  "fixed": "c07d5f85dfc37bd32819358ed7d4bc32c604e8f0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.6.1"
                      },
                      {
                        "fixed": "3.1.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2e9bc77a5d832bff1093058d42ce7a61382e4bc6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c07d5f85dfc37bd32819358ed7d4bc32c604e8f0"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5",
            "2.4",
            "2.3",
            "2.2",
            "2.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-52010.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.777840832Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52010.json",
        "https://github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-52010",
        "https://github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6",
        "https://github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52010.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-52010",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492388,
  "published_at": "2024-11-12T16:06:31.719+00:00"
}