CVE-2017-17562: Embedthis GoAhead Remote Code Execution Vulnerability
In CISA’s Known Exploited Vulnerabilities catalog: Embedthis GoAhead Remote Code Execution Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply updates per vendor instructions.
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.
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
Embedthis: GoAhead
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/elttam/advisories/tree/master/CVE-2017-17562 (opens in new tab)
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 (opens in new tab)
- github.com/embedthis/goahead/issues/249 (opens in new tab)
- www.elttam.com.au/blog/goahead/ (opens in new tab)
- www.exploit-db.com/exploits/43360/ (opens in new tab)
- www.exploit-db.com/exploits/43877/ (opens in new tab)
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in new tab)
- www.securitytracker.com/id/1040702 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)