CVE-2017-17562
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Apply updates per vendor instructions.
GoAhead web server versions before 3.6.5 allow attackers to run malicious code on the server if CGI is enabled. The vulnerability happens because the server passes untrusted user input as environment variables to CGI scripts, which can be exploited using techniques like LD_PRELOAD to load malicious libraries.
CVE-2017-17562 is a remote code execution vulnerability in Embedthis GoAhead <3.6.5 affecting CGI-enabled deployments with dynamically linked CGI programs. The cgiHandler function in cgi.c improperly initializes the forked child process environment using unsanitized HTTP request parameters, allowing attackers to inject dangerous linker variables (e.g., LD_PRELOAD) that glibc will process, enabling arbitrary code execution via crafted POST requests referencing /proc/self/fd/0.
The full analysis of this CVE is available in Portuguese →