CVE-2017-17562
High 8.1KEV · exploitedPublic exploit ×2Fix status unknownEmbedthis GoAhead Remote Code Execution Vulnerability
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Among the highest-scored CVEs. A prediction, not evidence.
CISA remediation deadline
Passed 1625 days ago for U.S. federal agencies
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.
Weakness: CWE-20
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Embedthis | GoAhead | Not documented | Not documented | CISA KEV |
Timeline
Disclosure
CVE record published by mitre
Source: CVE Program (opens in a new tab)
10 Dec 2021KEV
Added to the CISA Known Exploited Vulnerabilities catalog
Source: CISA KEV (opens in a new tab)
10 Dec 2021Exploitation
Exploitation confirmed by CISA KEV
Source: CISA KEV (opens in a new tab)
Vendor guidance and references
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_confirm, x_transferred
- 1040702 (opens in a new tab)vdb-entry, x_refsource_sectrack, x_transferred
- https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 (opens in a new tab)x_refsource_misc, x_transferred
- https://github.com/embedthis/goahead/issues/249 (opens in a new tab)x_refsource_misc, x_transferred
- https://nvd.nist.gov/vuln/detail/CVE-2017-17562 (opens in a new tab)government
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562 (opens in a new tab)government-resource
- https://www.elttam.com.au/blog/goahead/ (opens in a new tab)x_refsource_misc, x_transferred
Public exploit code
Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.
- Exploit-DB 43360 (verified) (opens in a new tab)2 entries on Exploit-DB