CVE-2017-17562
CVSS V2 Medium 6.8
CVSS V3 High 8.1
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.
Overview
- CVE ID
- CVE-2017-17562
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2017-12-12T19:29:00
- Last Modified Date
- 2018-04-20T01:29:19
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:embedthis:goahead:*:*:*:*:*:*:*:* | 1 | OR | 3.6.5 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.1
- Base Severity
- HIGH
- Exploitability Score
- 2.2
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/embedthis/goahead/issues/249 | Issue Tracking Third Party Advisory |
https://github.com/embedthis/goahead/commit/6f786c123196eb622625a920d54048629a7caa74 | Patch Third Party Advisory |
https://www.elttam.com.au/blog/goahead/ | Exploit Patch Third Party Advisory |
https://github.com/elttam/advisories/tree/master/CVE-2017-17562 | Third Party Advisory |
https://www.exploit-db.com/exploits/43360/ | Exploit Third Party Advisory VDB Entry |
https://www.exploit-db.com/exploits/43877/ | |
http://www.securitytracker.com/id/1040702 | |
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-17562 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17562 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:45:22 | Added to TrackCVE | |||
2022-12-02 23:55:46 | 2017-12-12T19:29Z | 2017-12-12T19:29:00 | CVE Published Date | updated |
2022-12-02 23:55:46 | 2018-04-20T01:29:19 | CVE Modified Date | updated | |
2022-12-02 23:55:46 | Modified | Vulnerability Status | updated |