Exploited vulnerabilities · Embedthis
CVE-2017-17562
Embedthis GoAhead Remote Code Execution Vulnerability
Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked.
Description in the NVD
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.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether Embedthis GoAhead runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/elttam/advisories/tree/master/CVE-2017-17562
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
- github.com/embedthis/goahead/issues/249
- www.elttam.com.au/blog/goahead/
- www.exploit-db.com/exploits/43360/
- www.exploit-db.com/exploits/43877/
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562
- nvd.nist.gov/vuln/detail/CVE-2017-17562
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.