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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-12-12T19:00:00

Updated: 2024-08-05T20:51:32.399Z

Reserved: 2017-12-12T00:00:00

Link: CVE-2017-17562

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2017-12-12T19:29:00.207

Modified: 2024-07-24T16:51:59.797

Link: CVE-2017-17562

cve-icon Redhat

No data.