CVE-2017-17562
Embedthis GoAhead Remote Code Execution Vulnerability
Embedthis GoAhead
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.
Exploitation status
CISA Known Exploited Vulnerabilities
Listed by CISA on 10 December 2021. US federal agencies were required to remediate it by 10 June 2022.
EPSS — exploitation probability
FIRST puts the probability of exploitation activity in the next 30 days at 97.1%, which is higher than 99.9% of all scored vulnerabilities. EPSS is a forecast of activity, not a measure of severity, and it is rescored daily.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Frequently asked questions
Is CVE-2017-17562 being exploited by ransomware groups?
No ransomware group in this database is currently recorded as exploiting CVE-2017-17562.
What does CVE-2017-17562 affect?
CVE-2017-17562 affects Embedthis GoAhead. 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.
How severe is CVE-2017-17562?
CVE-2017-17562 is rated HIGH with a CVSS base score of 8.1. EPSS puts the probability of exploitation in the next 30 days at 97.1%, higher than 99.9% of all scored vulnerabilities. It is listed in the CISA Known Exploited Vulnerabilities catalog, with a federal remediation deadline of 10 June 2022.
How should organisations respond to CVE-2017-17562?
Apply the vendor patch for Embedthis GoAhead as the first priority, and treat any internet-facing instance as the most urgent. Because this vulnerability is associated with ransomware activity, also review whether the affected systems were reachable before patching, rather than assuming that patching alone closes the incident.