CVE-2017-17562
At a glance
- Source
- NVD
- EPSS
- EPSS 97.13 % · percentile 100 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Analyzed
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.
References
- https://github.com/elttam/advisories/tree/master/CVE-2017-17562
- http://www.securitytracker.com/id/1040702
- https://www.elttam.com.au/blog/goahead/
- https://www.exploit-db.com/exploits/43360/
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74
- https://github.com/embedthis/goahead/issues/249
- https://www.exploit-db.com/exploits/43877/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-17562
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2017-8720
- GCVE · GCVE-0-2017-17562
CERT-FR advisories
- CERTFR-2021-AVI-214 — Multiples vulnérabilités dans Moxa EDR-810 · cert.ssi.gouv.fr
- CERTFR-2018-AVI-189 — Multiples vulnérabilités dans Oracle Sun Systems · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:embedthis:goahead:*:*:*:*:*:*:*:*< 3.6.5cpe:2.3:a:oracle:integrated_lights_out_manager:3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:integrated_lights_out_manager:4.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |