CVE-2017-17562
embedthis goahead, oracle integrated lights out manager
Published 12 Dec 2017 · updated 17 Jun 2026 · Analyzed
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 10 Dec 2021, with a remediation deadline of 10 Jun 2022 for US federal agencies.
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.
References
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html · Patch, Third Party Advisory
- www.securitytracker.com/id/1040702 · Broken Link, Third Party Advisory, VDB Entry
- github.com/elttam/advisories/tree/master/CVE-2017-17562 · Broken Link, Third Party Advisory
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 · Broken Link, Patch, Third Party Advisory
- github.com/embedthis/goahead/issues/249 · Broken Link, Issue Tracking, Third Party Advisory
- www.elttam.com.au/blog/goahead/ · Broken Link, Exploit, Patch
- www.exploit-db.com/exploits/43360/ · Exploit, Third Party Advisory, VDB Entry
- www.exploit-db.com/exploits/43877/ · Exploit, Third Party Advisory, VDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562 · US Government Resource