{"id":"CVE-2017-17562","kind":"vulnerability","aliases":["CVE-2017-17562"],"related":[],"title":"Embedthis GoAhead: Embedthis GoAhead Remote Code Execution Vulnerability","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.","summary":"Embedthis GoAhead, an embedded web server, before 3.6.5 allows remote code execution when CGI is enabled and a CGI program is dynamically linked. An unauthenticated remote attacker can run code on the device running the server.","severity":"critical","cvss":8.1,"epss":0.97127,"exploited":true,"exploited_at":"2021-12-10T00:00:00+00:00","products":[{"name":"Embedthis GoAhead","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["embedded","exploited","goahead","infrastructure","iot","self-hosted"],"not_affected_if":["cgi-disabled","version-3.6.5-or-later"],"how_to_check":"Check the GoAhead version in the device or build (must be 3.6.5 or later); confirm whether CGI is enabled in the server configuration.","fix":"Upgrade Embedthis GoAhead to 3.6.5 or later, or disable CGI.","status":"open","published_at":"2017-12-12T19:29:00+00:00","first_seen_at":"2026-10-23T19:11:53+00:00","triaged_at":"2026-10-23T21:31:52+00:00","updated_at":"2026-10-23T21:57:35+00:00","category":"infrastructure","confidence":0.8,"triage":{"at":"2026-10-23T21:31:52Z","model":"claude-haiku-5-5","output":{"fix":"Upgrade Embedthis GoAhead to 3.6.5 or later, or disable CGI.\nunknown","reach":"internet","impact":"high","summary":"Embedthis GoAhead, an embedded web server, before 3.6.5 allows remote code execution when CGI is enabled and a CGI program is dynamically linked. An unauthenticated remote attacker can run code on the device running the server.","category":"infrastructure","who_cares":["embedded","iot","goahead","self-hosted"],"confidence":0.8,"needs_auth":"no","worst_case":"Attacker runs arbitrary code on the device hosting GoAhead.","analyst_note":"Confirm affected version range and fixed version from the vendor advisory; the sources give only 'before 3.6.5' and no vendor link.","how_to_check":"Check the GoAhead version in the device or build (must be 3.6.5 or later); confirm whether CGI is enabled in the server configuration.\nunknown","needs_analyst":true,"not_affected_if":["cgi-disabled","version-3.6.5-or-later"],"user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000488,"input_tokens":2831,"output_tokens":410,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-17562':11A,14A '-2017':10A,13A '/proc/self/fd/0':145C '3.6.5':32B,64C 'abus':114C 'allow':33B,65C 'attack':51B,128C 'behaviour':111C 'bodi':137C 'cgi':38B,43B,70C,75C,90C 'cgi.c':102C 'cgihandl':99C 'code':6A,35B,54B,67C,117C 'combin':104C 'cve':9A,12A 'devic':57B 'dynam':46B,78C,108C 'embed':17B,28B 'embedthi':1A,3A,25B,61C 'embedthis':15A 'enabl':40B,72C 'environ':87C 'execut':7A,36B,68C,118C 'exploit':18B 'fork':89C 'function':100C 'glibc':107C 'goahead':2A,4A,16A,19B,26B,62C 'host':24B 'http':94C 'infrastructur':20B 'initi':85C 'iot':21B 'ld':125C 'link':47B,79C 'linker':109C 'name':122C 'object':133C 'paramet':96C,121C 'payload':134C 'post':130C 'preload':126C 'program':44B,76C 'refer':142C 'remot':5A,34B,50B,66C,116C 'request':95C,140C 'result':83C 'run':53B,58B 'script':91C 'self':23B 'self-host':22B 'server':30B,60B 'share':132C 'special':120C 'unauthent':49B 'untrust':93C 'use':92C,119C,144C 'vulner':8A 'web':29B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2017-12-12T19:29:00+00:00","kev":{"dateAdded":"2021-12-10","dueDate":"2022-06-10","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2017-17562","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2017-17562","severity":null,"published_at":"2021-12-10T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:53+00:00","fetched_at":"2026-10-25T16:39:49+00:00","note":null},{"source":"epss","external_id":"CVE-2017-17562","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-17562","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:44+00:00","fetched_at":"2026-10-23T19:13:44+00:00","note":null},{"source":"nvd","external_id":"CVE-2017-17562","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17562","severity":null,"published_at":"2017-12-12T19:29:00+00:00","modified_at":"2026-06-17T01:11:15+00:00","first_seen_at":"2026-10-23T21:57:35+00:00","fetched_at":"2026-10-23T21:57:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}