CVE-2017-17562

Known Exploited Public Exploit

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.

8.1
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 94.05% Top 5%
KEV Since 
Third-Party Advisory oracle.com Third-Party Advisory securitytracker.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory github.com Third-Party Advisory com.au Third-Party Advisory exploit-db.com Third-Party Advisory exploit-db.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://github.com/elttam/advisories/tree/master/CVE-2017-17562 third party advisory broken link
http://www.securitytracker.com/id/1040702 vdb entry third party advisory broken link
https://www.elttam.com.au/blog/goahead/ patch exploit third party advisory broken link
https://www.exploit-db.com/exploits/43360/ exploit vdb entry third party advisory
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html third party advisory patch
https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 third party advisory patch broken link
https://github.com/embedthis/goahead/issues/249 issue tracking third party advisory broken link
https://www.exploit-db.com/exploits/43877/ exploit vdb entry third party advisory

Frequently Asked Questions

What is the severity of CVE-2017-17562?
CVE-2017-17562 has been scored as a high severity vulnerability.
How to fix CVE-2017-17562?
To fix CVE-2017-17562, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2017-17562 being actively exploited in the wild?
It is confirmed that CVE-2017-17562 is actively exploited. Be extra cautious if you are using vulnerable components. According to its EPSS score, there is a ~94% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.