{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-17562","id":"CVE-2017-17562","title":"Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked","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 suc","descriptionLong":"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.","published":"2017-12-12T19:00:00.000Z","updated":"2026-06-17T01:11:15.933Z","reserved":"2017-12-12T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://github.com/elttam/advisories/tree/master/CVE-2017-17562","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory"]},{"url":"http://www.securitytracker.com/id/1040702","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Broken Link","Third Party Advisory","VDB Entry"]},{"url":"https://www.elttam.com.au/blog/goahead/","tags":["x_refsource_MISC","x_transferred","Broken Link","Exploit","Patch","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/43360/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory"]},{"url":"https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74","tags":["x_refsource_MISC","x_transferred","Broken Link","Patch","Third Party Advisory"]},{"url":"https://github.com/embedthis/goahead/issues/249","tags":["x_refsource_MISC","x_transferred","Broken Link","Issue Tracking","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/43877/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562","tags":["government-resource","US Government Resource"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2021-12-10","kevDue":"2022-06-10","kevEntry":{"cveID":"CVE-2017-17562","vendorProject":"Embedthis","product":"GoAhead","vulnerabilityName":"Embedthis GoAhead Remote Code Execution Vulnerability","dateAdded":"2021-12-10","shortDescription":"Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked.","requiredAction":"Apply updates per vendor instructions.","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Unknown","notes":"https://nvd.nist.gov/vuln/detail/CVE-2017-17562","cwes":["CWE-20"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.97127,"epssPercentile":0.99894,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-17562","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-17562","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-17562","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2021-12-10"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-17562","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 97% with CVSS 8.1"],"attention":null}