# CVE-2017-17562

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.

- Page: https://www.vulneraibility.com/cve/CVE-2017-17562
- CVSS: 8.1
- Known exploited: yes, in CISA KEV since 2021-12-10; CISA due date 2022-06-10
- EPSS: 97.13% (percentile 99.9)
- Public exploit code: 2 on Exploit-DB · 1 Metasploit module · 5 GitHub proofs of concept · 1 Nuclei template (first 2017-12-18)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-02-04)
- Published: 2017-12-12

## Affected

- embedthis:goahead
- oracle:integrated_lights_out_manager

## References

- [other] https://github.com/elttam/advisories/tree/master/CVE-2017-17562
- [other] http://www.securitytracker.com/id/1040702
- [other] https://www.elttam.com.au/blog/goahead/
- [exploit] https://www.exploit-db.com/exploits/43360/
- [other] http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- [other] https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
- [other] https://github.com/embedthis/goahead/issues/249
- [exploit] https://www.exploit-db.com/exploits/43877/
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
