CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2017-17562

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.
Publish Date : 2017-12-12 Last Update Date : 2018-04-19
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 20

- Products Affected By CVE-2017-17562

# Product Type Vendor Product Version Update Edition Language
1 Application Embedthis Goahead 3.0.0 Version Details Vulnerabilities
2 Application Embedthis Goahead 3.3.1 Version Details Vulnerabilities
3 Application Embedthis Goahead 3.3.2 Version Details Vulnerabilities
4 Application Embedthis Goahead 3.3.3 Version Details Vulnerabilities
5 Application Embedthis Goahead 3.3.4 Version Details Vulnerabilities
6 Application Embedthis Goahead 3.3.5 Version Details Vulnerabilities
7 Application Embedthis Goahead 3.3.6 Version Details Vulnerabilities
8 Application Embedthis Goahead 3.4.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Embedthis Goahead 8

- References For CVE-2017-17562

https://www.exploit-db.com/exploits/43360/
EXPLOIT-DB 43360
https://www.exploit-db.com/exploits/43877/
EXPLOIT-DB 43877
https://www.elttam.com.au/blog/goahead/
http://www.securitytracker.com/id/1040702
SECTRACK 1040702
https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
https://github.com/embedthis/goahead/issues/249
https://github.com/elttam/advisories/tree/master/CVE-2017-17562
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html CONFIRM

- Metasploit Modules Related To CVE-2017-17562

GoAhead Web Server LD_PRELOAD Arbitrary Module Load
This module triggers an arbitrary shared library load vulnerability in GoAhead web server versions between 2.5 and that have the CGI module enabled.
Module type : exploit Rank : excellent Platforms : Linux


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.