Known exploited vulnerability
CVE-2017-17562
The short answer
CVE-2017-17562 affects n/a n/a and is rated high (CVSS 8.1). CISA added it to the Known Exploited Vulnerabilities catalog on 2021-12-10: attackers are using it, so patch it first. The vendor has linked a patch.
What it 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.
Severity
8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploited (CISA KEV)
Yes, since Dec 10, 2021
Federal due date Jun 10, 2022
EPSS, next 30 days
97%
Higher than 100% of scored CVEs
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
What CISA says to do
Apply updates per vendor instructions.
Affected products
n/a. NVD's record lists the exact affected versions.
References
- github.com/elttam/advisories/tree/master/CVE-2017-17562 Broken LinkThird Party Advisory
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 Broken LinkPatchThird Party Advisory
- github.com/embedthis/goahead/issues/249 Broken LinkIssue TrackingThird Party Advisory
- www.elttam.com.au/blog/goahead/ Broken LinkExploitPatchThird Party Advisory
- www.exploit-db.com/exploits/43360/ ExploitThird Party AdvisoryVDB Entry
- www.exploit-db.com/exploits/43877/ ExploitThird Party AdvisoryVDB Entry
- github.com/elttam/advisories/tree/master/CVE-2017-17562 Broken LinkThird Party Advisory
- github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 Broken LinkPatchThird Party Advisory
- github.com/embedthis/goahead/issues/249 Broken LinkIssue TrackingThird Party Advisory
- www.elttam.com.au/blog/goahead/ Broken LinkExploitPatchThird Party Advisory
- www.exploit-db.com/exploits/43360/ ExploitThird Party AdvisoryVDB Entry
- www.exploit-db.com/exploits/43877/ ExploitThird Party AdvisoryVDB Entry
Questions
Is CVE-2017-17562 being exploited?
Yes. CISA added CVE-2017-17562 to its Known Exploited Vulnerabilities catalog on 2021-12-10, with a federal remediation due date of 2022-06-10.
How do I fix CVE-2017-17562?
CISA's required action: Apply updates per vendor instructions.
From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.
Related
Latest CVEs this week
Critical and High CVEs from the last 7 days, with KEV and EPSS.
Exploited vulnerabilities by vendor
Every vendor in CISA's KEV catalog, with its count.
Embedthis exploited vulnerabilities
Everything CISA lists as exploited for Embedthis.
Vulnerability watch
A briefing and a fix pull request when an advisory hits your dependencies.
Know the day a CVE lands in your code
Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.