CVE-2017-17562
Embedthis GoAhead Remote Code Execution
- Published12 Dec 2017
- Added to CISA KEV10 Dec 2021
- Remediation due10 Jun 2022
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
- https://github.com/elttam/advisories/tree/master/CVE-2017-17562
- https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
- https://github.com/embedthis/goahead/issues/249
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562
- https://www.elttam.com.au/blog/goahead/
- https://www.exploit-db.com/exploits/43360/
- https://www.exploit-db.com/exploits/43877/
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.securitytracker.com/id/1040702
Frequently asked
Is CVE-2017-17562 being actively exploited?
Yes. CVE-2017-17562 is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added 10 Dec 2021.
How severe is CVE-2017-17562?
CVE-2017-17562 has a CVSS 3.1 base score of 8.1, rated high. EPSS estimates a 96.3% probability of exploitation.
Which products are affected by CVE-2017-17562?
Affected products include Embedthis Goahead, Oracle Integrated Lights Out Manager.
How do I fix CVE-2017-17562?
Upgrade affected software to a fixed version, for example Embedthis Goahead 3.6.5 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2017-17562 against the real software inventory on every managed device, every day. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. Because it is on the CISA KEV list, Secuno flags any affected asset as top-priority automatically. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.