PT-2017-3348 · Gnu+1 · Glibc+1
Daniel Hodson
·
Published
2017-06-08
·
Updated
2025-11-16
·
CVE-2017-17562
CVSS v3.1
8.1
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Embedthis GoAhead versions prior to 3.6.5
Description
The issue is related to the initialization of the environment of forked CGI scripts using untrusted HTTP request parameters in the
cgiHandler function. This can be abused for remote code execution when combined with the glibc dynamic linker, using special parameter names such as LD PRELOAD. An attacker can send a shared object payload in the body of a request and reference it using /proc/self/fd/0. The vulnerability allows a remote attacker to execute arbitrary code by sending a specially crafted HTTP request that includes parameters with the "LD " prefix, which are used to create environment variables.Recommendations
For Embedthis GoAhead versions prior to 3.6.5, update to version 3.6.5 or later to resolve the issue. As a temporary workaround, consider disabling the
cgiHandler function or restricting the use of dynamically linked CGI programs until a patch is available. Additionally, restrict access to the LD PRELOAD parameter to minimize the risk of exploitation.Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Embedthis Goahead
Glibc