EmbedThis GoAhead up to 3.6.4 cgi.c cgiHandler input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in EmbedThis GoAhead up to 3.6.4. The impacted element is the function cgiHandler of the file cgi.c. This manipulation causes input validation. This vulnerability is tracked as CVE-2017-17562. The attack is possible to be carried out remotely. Moreover, an exploit is present. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in EmbedThis GoAhead up to 3.6.4. Affected by this vulnerability is the function cgiHandler of the file cgi.c. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 06/10/2017. The weakness was disclosed 12/12/2017 (Website). The advisory is shared at exploit-db.com. This vulnerability is known as CVE-2017-17562 since 12/12/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

A public exploit has been developed by Daniel Hodson in Python and been published 6 days after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as attacked. The vulnerability was handled as a non-public zero-day exploit for at least 185 days. During that time the estimated underground price was around $0-$5k. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11894 (GoAhead LD_PRELOAD Remote Code Execution Vulnerability). The CISA Known Exploited Vulnerabilities Catalog lists this issue since 12/10/2021 with a due date of 06/10/2022:

Apply updates per vendor instructions.

Upgrading to version 3.6.5 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Exploit-DB (43360). The entries VDB-92314, VDB-92773, VDB-92782 and VDB-92786 are pretty similar. If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.8
VulDB Meta Temp Score: 7.7

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CNA Base Score: 8.1
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Attacked
Author: Daniel Hodson
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

KEV Added: 🔍
KEV Due: 🔍
KEV Remediation: 🔍
KEV Ransomware: 🔍
KEV Notice: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

OpenVAS ID: 900201
OpenVAS Name: GoAhead Server RCE Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: goahead_ldpreload.rb
MetaSploit Name: GoAhead Web Server LD_PRELOAD Arbitrary Module Load
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: GoAhead 3.6.5
Patch: github.com

Timelineinfo

06/10/2017 🔍
12/12/2017 +185 days 🔍
12/12/2017 +0 days 🔍
12/12/2017 +0 days 🔍
12/13/2017 +1 days 🔍
12/18/2017 +5 days 🔍
12/18/2017 +0 days 🔍
02/05/2025 +2606 days 🔍

Sourcesinfo

Product: github.com

Advisory: 6f786c123196eb622625a920d54048629a7caa74
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2017-17562 (🔍)
GCVE (CVE): GCVE-0-2017-17562
GCVE (VulDB): GCVE-100-110557
SecurityTracker: 1040702

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 12/13/2017 08:10
Updated: 02/05/2025 01:47
Changes: 12/13/2017 08:10 (78), 12/16/2019 11:23 (2), 01/27/2021 09:11 (2), 01/17/2023 14:03 (4), 04/22/2024 10:26 (22), 07/24/2024 21:16 (1), 09/09/2024 22:29 (1), 02/05/2025 01:47 (11)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!