CVE-2017-17562Embedthis GoAhead Remote Code Execution Vulnerability
CVSS score
8.1
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
97.1%
97.1% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 10 Dec 2021.
US federal deadline to fix: 10 Jun 2022.
Official description
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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 10 Dec 2021.
US federal agencies must fix it by 10 Jun 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Embedthis Goahead, Oracle Integrated Lights Out Manager and compare its version with the affected versions.
Update to a fixed version
- Update Goahead to 3.6.5 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Embedthis Goahead | < 3.6.5 |
| Oracle Integrated Lights Out Manager | 3.0 · 4.0 |
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2017-17562 being exploited?
Yes. CISA added CVE-2017-17562 to its Known Exploited Vulnerabilities catalog on 10 Dec 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 97.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2017-17562?
CVE-2017-17562 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Embedthis Goahead (< 3.6.5), Oracle Integrated Lights Out Manager (3.0; 4.0)
Is there a patch for CVE-2017-17562?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html(Patch, Third Party Advisory)
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74(Broken Link, Patch, Third Party Advisory)
- www.elttam.com.au/blog/goahead/(Broken Link, Exploit, Patch)
- www.exploit-db.com/exploits/43360/(Exploit, Third Party Advisory, VDB Entry)
- www.exploit-db.com/exploits/43877/(Exploit, Third Party Advisory, VDB Entry)
- www.securitytracker.com/id/1040702(Broken Link, Third Party Advisory, VDB Entry)
- github.com/elttam/advisories/tree/master/CVE-2017-17562(Broken Link, Third Party Advisory)
- github.com/embedthis/goahead/issues/249(Broken Link, Issue Tracking, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.