CVE-2017-17562
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.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →