CVE-2017-9841
CVSS V2 High 7.5
CVSS V3 Critical 9.8
Description
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.
Overview
- CVE ID
- CVE-2017-9841
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2017-06-27T17:29:00
- Last Modified Date
- 2022-04-18T17:57:47
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* | 1 | OR | 4.8.27 | |
cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* | 1 | OR | 5.0.0 | 5.6.3 |
cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* | 1 | OR | 8.0.0 | 8.5.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/sebastianbergmann/phpunit/pull/1956 | Patch Third Party Advisory |
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 | Patch Third Party Advisory |
http://www.securityfocus.com/bid/101798 | Broken Link |
http://www.securitytracker.com/id/1039812 | Broken Link |
https://security.gentoo.org/glsa/201711-15 | Third Party Advisory |
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ | Third Party Advisory |
https://www.oracle.com/security-alerts/cpuoct2021.html | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-9841 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9841 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:41:46 | Added to TrackCVE | |||
2022-12-02 18:07:38 | 2017-06-27T17:29Z | 2017-06-27T17:29:00 | CVE Published Date | updated |
2022-12-02 18:07:38 | 2022-04-18T17:57:47 | CVE Modified Date | updated | |
2022-12-02 18:07:38 | Analyzed | Vulnerability Status | updated |