CVE-2017-17562
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...
Basic Information
- CVE State
- PUBLISHED
- Reserved Date
- December 12, 2017
- Published Date
- December 12, 2017
- Last Updated
- February 04, 2025
- Vendor
- n/a
- Product
- n/a
- 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
SSVC Information
- Exploitation
- active
- Technical Impact
- total
References
Known Exploited Vulnerability Information
Source | Added Date |
---|---|
CISA | 2021-12-10 00:00:00 UTC |
Scanner Integrations
Scanner | URL | Date Detected |
---|---|---|
Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/goahead_ldpreload.rb | 2025-04-29 11:01:13 UTC |
Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-17562.yaml | 2025-04-26 00:00:00 UTC |
Potential Proof of Concepts
Warning: These PoCs have not been tested and could contain malware. Use at your own risk.
goahead_ldpreload
Type: metasploit • Created: Unknown
freitzzz/bash-CVE-2017-17562
Type: github • Created: 2021-11-17 18:21:54 UTC • Stars: 1
crispy-peppers/Goahead-CVE-2017-17562
Type: github • Created: 2019-11-23 08:40:49 UTC • Stars: 0
ivanitlearning/CVE-2017-17562
Type: github • Created: 2019-10-16 16:28:27 UTC • Stars: 9
1337g/CVE-2017-17562
Type: github • Created: 2017-12-27 05:46:50 UTC • Stars: 1