{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2017-17562 in the wild since at least 10 Dec 2021.","fix":"No fix has been published for CVE-2017-17562 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 10 Jun 2022.","what":"CVE-2017-17562 is a high-severity code injection vulnerability in n/a, published on 12 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-17562 and fix it if it is affected.\n\nWhat it is: CVE-2017-17562 is a high-severity code injection vulnerability in n/a, published on 12 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-17562 in the wild since at least 10 Dec 2021.\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-17562/ (Markdown: https://insights.sbomify.com/CVE-2017-17562/index.md)","id":"CVE-2017-17562","markdown":"https://insights.sbomify.com/CVE-2017-17562/index.md","name":"CVE-2017-17562","record":{"aliases":["GHSA-q5wm-274q-f3v6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"GoAhead web server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on GoAhead web servers by exploiting environment variable injection in CGI handlers when CGI is enabled.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"goahead","vendor":"embedthis"},{"product":"integrated_lights_out_manager","vendor":"oracle"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked. This is a result of initializing the environment of forked CGI scripts using untrusted HTTP request parameters in the cgiHandler function in cgi.c. When combined with the glibc dynamic linker, this behaviour can be abused for remote code execution using special parameter names such as LD_PRELOAD. An attacker can POST their shared object payload in the body of the request, and reference it using /proc/self/fd/0.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2017-12-18","github_poc":5,"max_poc_stars":10,"metasploit":1,"nuclei":1,"refs":[{"date":"2019-10-16T16:28:27Z","kind":"github_poc","ref":"https://github.com/ivanitlearning/CVE-2017-17562","stars":10,"title":"Standalone Python 3 exploit for CVE-2017-17562"},{"date":"2021-11-14T14:30:10Z","kind":"github_poc","ref":"https://github.com/nu11pointer/goahead-rce-exploit","stars":8,"title":"Exploit for CVE-2017-17562 vulnerability, that allows RCE on GoAhead (\u003c v3.6.5) if the CGI is enabled and a CGI program is dynamically linked."},{"date":"2017-12-27T05:46:50Z","kind":"github_poc","ref":"https://github.com/1337g/CVE-2017-17562","stars":1,"title":"CVE-2017-17562 GOAHEAD RCE (Author: Daniel Hodson)"},{"date":"2021-11-17T18:21:54Z","kind":"github_poc","ref":"https://github.com/joaomagfreitas/bash-CVE-2017-17562","stars":1,"title":"PoC for CVE-2017-17562 written in bash"},{"date":"2017-12-18","kind":"exploitdb","ref":"43360","stars":null,"title":"GoAhead Web Server 2.5 \u003c 3.6.5 - HTTPd 'LD_PRELOAD' Remote Code Execution"},{"date":"2017-12-18","kind":"metasploit","ref":"exploit/linux/http/goahead_ldpreload","stars":null,"title":"GoAhead Web Server LD_PRELOAD Arbitrary Module Load"},{"date":"2018-01-24","kind":"exploitdb","ref":"43877","stars":null,"title":"GoAhead Web Server 2.5 \u003c 3.6.5 - HTTPd 'LD_PRELOAD' Arbitrary Module Load (Metasploit)"},{"date":"2019-11-23T08:40:49Z","kind":"github_poc","ref":"https://github.com/crispy-peppers/Goahead-CVE-2017-17562","stars":0,"title":null}],"tier":"exploited"},"has_fix":null,"headline":"Embedthis GoAhead Remote Code Execution","id":"CVE-2017-17562","indexable":true,"kev":{"dateAdded":"2021-12-10","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Unknown","product":"GoAhead","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Embedthis","vulnerabilityName":"Embedthis GoAhead Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2017"},"n_packages":0,"n_references":8,"next":{"headline":"Integer overflow in n/a","id":"CVE-2017-17563"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2017-17561"},"products":["n/a"],"published":"2017-12-12","related":[{"cvss_score":9.8,"headline":"Weak cryptography in n/a","id":"CVE-2021-41615","kev_date_added":null,"published":"2022-08-08"},{"cvss_score":9.8,"headline":"Security feature bypass in goahead","id":"CVE-2021-43298","kev_date_added":null,"published":"2022-01-25"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2021-42342","kev_date_added":null,"published":"2021-10-14"},{"cvss_score":9.8,"headline":"Use after free in EmbedThis","id":"CVE-2019-5096","kev_date_added":null,"published":"2019-12-03"},{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2017-1000471","kev_date_added":null,"published":"2018-01-03"},{"cvss_score":9.8,"headline":"Information disclosure in n/a","id":"CVE-2017-5674","kev_date_added":null,"published":"2017-03-13"}],"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on GoAhead web servers by exploiting environment variable injection in CGI handlers when CGI is enabled.","url":"https://insights.sbomify.com/CVE-2017-17562/"}