CVE-2017-17562: Embedthis GoAhead Remote Code Execution Vulnerability

Published Dec 12, 2017
·
Updated

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 LDPRELOAD. An attacker can POST their shared object payload in the body of the request, and reference it using /proc/self/fd/0.

Affected Software

8 affected components
Embedthis GoAhead<3.6.5
Embedthis GoAhead
Oracle Integrated Lights Out Manager=3.0
Oracle Integrated Lights Out Manager=4.0
General Electric Renewable Energy iNET/iNET II series radio firmware versions prior to rev. 8.3.0
General Electric Renewable Energy SD series radio firmware versions prior to rev. 6.4.7
General Electric Renewable Energy TD220X series radio firmware versions prior to rev. 2.0.16
General Electric Renewable Energy TD220MAX series radio firmware versions prior to rev. 1.2.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Embedthis GoAhead to a version that resolves this vulnerability.

    Fixed in 3.6.5
  2. Configuration

    Disable CGI in Embedthis GoAhead to prevent exploitation of the remote code execution issue when CGI is enabled and a CGI program is dynamically linked.

    Embedthis GoAhead CGI CGI enabled = false
  3. Compensating control

    If you cannot immediately disable CGI, restrict inbound access to the GoAhead server (e.g., via network ACL/firewall) to reduce exposure to HTTP requests that carry attacker-controlled parameters for the cgiHandler environment initialization.

Event History

Dec 12, 2017
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
RemedyDescriptionSeverityAffected Software
Dec 10, 2021
Known Exploited
via CISA·12:00 AM
Mar 1, 58274
Event
via NVD·05:18 AM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-17562?

CVE-2017-17562 is a vulnerability in Embedthis GoAhead before version 3.6.5 that allows remote code execution if CGI is enabled and a CGI program is dynamically linked.

2

How severe is CVE-2017-17562?

CVE-2017-17562 has a severity rating of 8.1 (high).

3

How does CVE-2017-17562 work?

CVE-2017-17562 works by initializing the environment of forked CGI scripts using untrusted HTTP request parameters, allowing for remote code execution.

4

What software is affected by CVE-2017-17562?

Embedthis GoAhead before version 3.6.5 is affected by CVE-2017-17562.

5

How can I fix CVE-2017-17562?

To fix CVE-2017-17562, update Embedthis GoAhead to version 3.6.5 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203