Vulnerability detail
Enriched intelligence for a single CVE
High
CVE-2017-17562
PUBLISHEDEmbedthis 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...
- Vendor
- Embedthis
- Product
- GoAhead
- Published
- Dec 12, 2017
- EPSS
- —
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.
CVSS scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:P/I:P/A:P
Exploitation status
Exploited in the wild
Recorded 2021-12-10 00:00:00 UTC · Source
SSVC decision points
- Exploitation
- active
- Automatable
- No
- Technical impact
- total
References
- https://github.com/elttam/advisories/tree/master/CVE-2017-17562
- http://www.securitytracker.com/id/1040702
- https://www.elttam.com.au/blog/goahead/
- https://www.exploit-db.com/exploits/43360/
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
- https://github.com/embedthis/goahead/issues/249
- https://www.exploit-db.com/exploits/43877/
Known exploited vulnerability sources
Catalogues that list this CVE as a known exploited vulnerability.
| Source | Added |
|---|---|
| CISA | Dec 10, 2021 |
| CISA | Dec 10, 2021 |
Scanner integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/goahead_ldpreload.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-17562.yaml | Apr 25, 2025 |
Potential proof of concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2021-11-17 18:21:54 UTC · 1 stars
PoC for CVE-2017-17562 written in bash
github · Created 2019-11-23 08:40:49 UTC · 0 stars
github · Created 2019-10-16 16:28:27 UTC · 9 stars
Standalone Python 3 exploit for CVE-2017-17562
github · Created 2017-12-27 05:46:50 UTC · 1 stars
CVE-2017-17562 GOAHEAD RCE (Author: Daniel Hodson)
Timeline
-
CVE ID Reserved
-
CVE Published to Public
-
Added to KEVIntel
-
Added to KEVIntel
-
Detected by Nuclei
-
Detected by Metasploit