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.
Published 2017-12-12 19:29:00
Updated 2018-04-20 01:29:19
Source MITRE
View at NVD,   CVE.org
Vulnerability category: Input validationExecute code

CVE-2017-17562 is in the CISA Known Exploited Vulnerabilities Catalog

CISA vulnerability name:
Embedthis GoAhead Remote Code Execution Vulnerability
CISA required action:
Apply updates per vendor instructions.
CISA description:
Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked.
Added on 2021-12-10 Action due date 2022-06-10

Exploit prediction scoring system (EPSS) score for CVE-2017-17562

97.46%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2017-17562

  • GoAhead Web Server LD_PRELOAD Arbitrary Module Load
    Disclosure Date: 2017-12-18
    First seen: 2020-04-26
    exploit/linux/http/goahead_ldpreload
    This module triggers an arbitrary shared library load vulnerability in GoAhead web server versions between 2.5 and that have the CGI module enabled. Authors: - Daniel Hodson <daniel@elttam.com.au> - h00die - hdm <x@hdm.io>

CVSS scores for CVE-2017-17562

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.8
MEDIUM AV:N/AC:M/Au:N/C:P/I:P/A:P
8.6
6.4
NIST
8.1
HIGH CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2.2
5.9
NIST

CWE ids for CVE-2017-17562

  • The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2017-17562

Products affected by CVE-2017-17562

This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!