{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9757 exists.","fix":"No fix has been published for CVE-2017-9757 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-9757 is a high-severity command injection vulnerability in n/a, published on 19 Jun 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-9757 and fix it if it is affected.\n\nWhat it is: CVE-2017-9757 is a high-severity command injection vulnerability in n/a, published on 19 Jun 2017. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9757 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-9757/ (Markdown: https://insights.sbomify.com/CVE-2017-9757/index.md)","id":"CVE-2017-9757","markdown":"https://insights.sbomify.com/CVE-2017-9757/index.md","name":"CVE-2017-9757","record":{"aliases":["GHSA-3wvf-5qf9-45fj"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IPFire firewall OS","requires_auth":"low_privilege","summary":"Authenticated users or CSRF attackers can execute arbitrary commands on IPFire via the ids.cgi OINKCODE parameter.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ipfire","vendor":"ipfire"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by a shell. This can be exploited directly by authenticated users, or through CSRF.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2017-06-09","github_poc":2,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2026-08-08T01:05:36Z","kind":"github_poc","ref":"https://github.com/joaoaugustom/IPFire_2.19_RCE_Authenticated","stars":1,"title":"This exploit is based on CVE-2017-9757 and was built upon the original exploit by 0x09AL."},{"date":"2017-06-09","kind":"metasploit","ref":"exploit/linux/http/ipfire_oinkcode_exec","stars":null,"title":"IPFire proxy.cgi RCE"},{"date":"2024-03-30T02:06:15Z","kind":"github_poc","ref":"https://github.com/peterleiva/CVE-2017-9757","stars":0,"title":"SyncBreeze exploit for CVE-2017-9757"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2017-9757","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2017"},"n_packages":0,"n_references":3,"next":{"headline":"Security feature bypass in n/a","id":"CVE-2017-9758"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2017-9756"},"products":["n/a"],"published":"2017-06-19","related":[{"cvss_score":8.8,"headline":"Privilege escalation in n/a","id":"CVE-2021-33393","kev_date_added":null,"published":"2021-06-09"},{"cvss_score":8.8,"headline":"Command injection in n/a","id":"CVE-2018-16232","kev_date_added":null,"published":"2018-10-17"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via Proxy Report Creation","id":"CVE-2025-34311","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":8.7,"headline":"IPFire \u003c v2.29 Command Injection via URL Filter Blacklist","id":"CVE-2025-34312","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":7.1,"headline":"IPFire \u003c v2.29 SQL Injection via OpenVPN Connection Logs","id":"CVE-2025-34304","kev_date_added":null,"published":"2025-10-28"},{"cvss_score":6.5,"headline":"Command injection in n/a","id":"CVE-2025-50974","kev_date_added":null,"published":"2025-08-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Authenticated users or CSRF attackers can execute arbitrary commands on IPFire via the ids.cgi OINKCODE parameter.","url":"https://insights.sbomify.com/CVE-2017-9757/"}