{"answers":{"affected":"3 open source packages ship an affected version, including github.com/tobychui/zoraxy.","exploited":"There is no known exploitation of CVE-2024-52010 in the wild and no public exploit code.","fix":"Upgrade github.com/tobychui/zoraxy to a fixed version for your release line: 3.1.3+incompatible or 3.1.3.","what":"CVE-2024-52010 is a high-severity command injection vulnerability in tobychui zoraxy, published on 12 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52010 and fix it if it is affected.\n\nWhat it is: CVE-2024-52010 is a high-severity command injection vulnerability in tobychui zoraxy, published on 12 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-52010 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/tobychui/zoraxy (Go): affected all versions; fixed in 3.1.3+incompatible\n- github.com/tobychui/zoraxy (Go): affected from 2.6.1; fixed in 3.1.3\n- github.com/tobychui/zoraxy (Go): affected from 2.6.1; fixed in 3.1.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-52010/ (Markdown: https://insights.sbomify.com/CVE-2024-52010/index.md)","id":"CVE-2024-52010","markdown":"https://insights.sbomify.com/CVE-2024-52010/index.md","name":"CVE-2024-52010","record":{"aliases":["GHSA-7hpf-g48v-hw3j","GO-2024-3267"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"HTTP reverse proxy","requires_auth":"high_privilege","summary":"An authenticated attacker can inject arbitrary commands into the Web SSH feature to execute code as root on the host.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2025-04-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-18T10:56:42Z","kind":"github_poc","ref":"https://github.com/iuds/-CVE-2024-52010-","stars":0,"title":"exploit auto"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Zoraxy has an authenticated command injection in the Web SSH feature","id":"CVE-2024-52010","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"launch-editor vulnerable to command injection via the crafted request on Windows","id":"CVE-2024-52011"},"packages":[{"ecosystem":"Go","fixed":["3.1.3+incompatible"],"introduced":["0"],"last_affected":[],"package":"github.com/tobychui/zoraxy","purl":"pkg:golang/github.com/tobychui/zoraxy","source":"GO-2024-3267"},{"ecosystem":"Go","fixed":["3.1.3"],"introduced":["2.6.1"],"last_affected":[],"package":"github.com/tobychui/zoraxy","purl":null,"source":"GHSA-7hpf-g48v-hw3j"},{"ecosystem":"Go","fixed":["3.1.3"],"introduced":["2.6.1"],"last_affected":[],"package":"github.com/tobychui/zoraxy","purl":"pkg:golang/github.com/tobychui/zoraxy","source":"GHSA-7hpf-g48v-hw3j"}],"prev":{"headline":"Git credentials are exposed in atlantis logs","id":"CVE-2024-52009"},"products":["zoraxy"],"published":"2024-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-21","vendors":["tobychui"]},"summary":"An authenticated attacker can inject arbitrary commands into the Web SSH feature to execute code as root on the host.","url":"https://insights.sbomify.com/CVE-2024-52010/"}