CVEs / CVE-2017-17562
CVE-2017-17562: Embedthis GoAhead Remote Code Execution Vulnerability
- Known exploited in the CISA KEV catalog since 10 Dec 2021
- high 8.1 CVSS 3.1 (NVD)
- EPSS 97.1% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2017-17562
Summary
Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked.
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | n/a | — |
Exploitation
| In CISA KEV since | 10 Dec 2021 |
|---|---|
| Due date for US federal agencies | 10 Jun 2022 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions. |
Severity
| CVSS 3.1 | 8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|
References
- CVE-2017-17562 on NVD
- CVE-2017-17562 in the CISA KEV catalog
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html Patch, Third Party Advisory
- http://www.securitytracker.com/id/1040702 Broken Link, Third Party Advisory, VDB Entry
- https://github.com/elttam/advisories/tree/master/CVE-2017-17562 Broken Link, Third Party Advisory
- https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 Broken Link, Patch, Third Party Advisory
- https://github.com/embedthis/goahead/issues/249 Broken Link, Issue Tracking, Third Party Advisory
- https://www.elttam.com.au/blog/goahead/ Broken Link, Exploit, Patch, Third Party Advisory
- https://www.exploit-db.com/exploits/43360/ Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/43877/ Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.