[ CVE-2017-17562 · Published 12 Dec 2017 ]
Embedthis GoAhead Remote Code Execution Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2021-12-10
- EPSS: 97% chance of exploitation in the next 30 days (higher than 100% of CVEs)
[ Description ]Official 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.
CISA: Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked.
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 10 Jun 2022): Apply updates per vendor instructions.
- Patch on oracle.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on elttam.com.auVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ References ]References
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.htmlPatchThird Party Advisory
- www.securitytracker.com/id/1040702Broken LinkThird Party AdvisoryVDB Entry
- github.com/elttam/advisories/tree/master/CVE-2017-17562Broken LinkThird Party Advisory
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74Broken LinkPatchThird Party Advisory
- github.com/embedthis/goahead/issues/249Broken LinkIssue TrackingThird Party Advisory
- www.elttam.com.au/blog/goaheadBroken LinkExploitPatch
- www.exploit-db.com/exploits/43360ExploitThird Party AdvisoryVDB Entry
- www.exploit-db.com/exploits/43877ExploitThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource