CVE-2017-9841
PHPUnit Command Injection Vulnerability - [Actively Exploited]
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.
INFO
Published Date :
June 27, 2017, 5:29 p.m.
Last Modified :
Nov. 21, 2024, 3:36 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
PHPUnit 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.
Apply updates per vendor instructions.
https://nvd.nist.gov/vuln/detail/CVE-2017-9841
Public PoC/Exploit Available at Github
CVE-2017-9841 has a 50 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-9841
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-9841
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。
This reverse proxy is used to serve all the web apps on my server and is also responsible for certificate creation and renewal. It also redirects all HTTP traffic to HTTPS
None
TypeScript HTML JavaScript Hack PHP
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
None
TypeScript HTML JavaScript Hack PHP Dockerfile Shell
[Smart Banking] Cyber Defense DFCD 2024
TypeScript HTML JavaScript Hack PHP
None
None
all laravel cve
Python
Crowdsec Blacklist mirror - allows you to create a local HTTP service with an up-to-date list of harmful IP addresses
blocklist crowdsec docker docker-compose firewall security
None
Python
None
CSS HTML JavaScript
None
Python
PHPUnit RCE
Python
This page is dedicated to assisting the community with interpreting web logs
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-9841
vulnerability anywhere in the article.
- Cybersecurity News
Mozi Botnet Re-Emerges as Androxgh0st in New Wave of IoT Exploits
The notorious Mozi botnet, once believed to be largely defunct following law enforcement actions, has resurfaced in a powerful new avatar: Androxgh0st. CloudSEK’s recent report reveals that Androxgh0s ... Read more
- The Hacker News
AndroxGh0st Malware Integrates Mozi Botnet to Target IoT and Cloud Services
IoT Security / Vulnerability The threat actors behind the AndroxGh0st malware are now exploiting a broader set of security flaws impacting various internet-facing applications, while also deploying th ... Read more
- Hackread - Latest Cybersecurity, Tech, Crypto & Hacking News
Androxgh0st Botnet Integrates Mozi, Expands Attacks on IoT Vulnerabilities
CloudSEK reports that the Androxgh0st botnet has integrated with the Mozi botnet and exploits a wide range of vulnerabilities in web applications and IoT devices. Learn about the specific vulnerabilit ... Read more
The following table lists the changes that have been made to the
CVE-2017-9841
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ Added Reference http://www.securityfocus.com/bid/101798 Added Reference http://www.securitytracker.com/id/1039812 Added Reference https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Added Reference https://github.com/sebastianbergmann/phpunit/pull/1956 Added Reference https://security.gentoo.org/glsa/201711-15 Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Apr. 18, 2022
Action Type Old Value New Value Changed Reference Type http://www.securityfocus.com/bid/101798 Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/101798 Broken Link Changed Reference Type http://www.securitytracker.com/id/1039812 Third Party Advisory, VDB Entry http://www.securitytracker.com/id/1039812 Broken Link Changed Reference Type https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Third Party Advisory https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Patch, Third Party Advisory Changed Reference Type https://github.com/sebastianbergmann/phpunit/pull/1956 Third Party Advisory https://github.com/sebastianbergmann/phpunit/pull/1956 Patch, Third Party Advisory Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (including) 8.5.0 -
CVE Modified by [email protected]
Oct. 20, 2021
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned] -
Modified Analysis by [email protected]
Jan. 14, 2020
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ No Types Assigned http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/101798 No Types Assigned http://www.securityfocus.com/bid/101798 Third Party Advisory, VDB Entry Changed Reference Type http://www.securitytracker.com/id/1039812 No Types Assigned http://www.securitytracker.com/id/1039812 Third Party Advisory, VDB Entry Changed Reference Type https://security.gentoo.org/glsa/201711-15 No Types Assigned https://security.gentoo.org/glsa/201711-15 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions up to (including) 4.8.27 *cpe:2.3:a:phpunit_project:phpunit:5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.9:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.10:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.9:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.10:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.11:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.12:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.2:*:*:*:*:*:*:* OR *cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions up to (including) 4.8.27 *cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.6.3 -
CVE Modified by [email protected]
Jan. 10, 2020
Action Type Old Value New Value Removed Reference http://phpunit.vulnbusters.com/ [Exploit, Mitigation, Patch, Vendor Advisory] Added Reference http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 21, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201711-15 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 17, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1039812 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 15, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101798 [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 06, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/sebastianbergmann/phpunit/pull/1956 No Types Assigned https://github.com/sebastianbergmann/phpunit/pull/1956 Third Party Advisory Changed Reference Type http://phpunit.vulnbusters.com/ No Types Assigned http://phpunit.vulnbusters.com/ Exploit, Mitigation, Patch, Vendor Advisory Changed Reference Type https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 No Types Assigned https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Third Party Advisory Added CWE CWE-94 Added CPE Configuration OR *cpe:2.3:a:phpunit_project:phpunit:4.8.27:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:phpunit_project:phpunit:5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.9:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.0.10:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.1.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.9:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.10:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.11:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.2.12:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.3.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.4.8:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.5:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.6:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.5.7:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.0:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.1:*:*:*:*:*:*:* *cpe:2.3:a:phpunit_project:phpunit:5.6.2:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-9841
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-9841
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.48 }} -0.01%
score
0.99971
percentile