golang / vulndb

[mirror] The Go Vulnerability Database
Other
564 stars 61 forks source link

x/vulndb: potential Go vuln in github.com/tobychui/zoraxy: CVE-2024-52010 #3267

Closed GoVulnBot closed 6 days ago

GoVulnBot commented 1 week ago

Advisory CVE-2024-52010 references a vulnerability in the following Go modules:

Module
github.com/tobychui/zoraxy

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...

References:

No existing reports found with this module or alias. See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/tobychui/zoraxy
      vulnerable_at: 3.1.3+incompatible
summary: CVE-2024-52010 in github.com/tobychui/zoraxy
cves:
    - CVE-2024-52010
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-52010
    - fix: https://github.com/tobychui/zoraxy/commit/2e9bc77a5d832bff1093058d42ce7a61382e4bc6
    - fix: https://github.com/tobychui/zoraxy/commit/c07d5f85dfc37bd32819358ed7d4bc32c604e8f0
    - web: https://github.com/tobychui/zoraxy/security/advisories/GHSA-7hpf-g48v-hw3j
source:
    id: CVE-2024-52010
    created: 2024-11-12T18:01:35.290030739Z
review_status: UNREVIEWED
gopherbot commented 6 days ago

Change https://go.dev/cl/629356 mentions this issue: data/reports: add 9 unreviewed reports