CrowdSecLive Exploit Tracker
Background NoiseCVE-2017-9841Public Exploit

PHPUnit - RCE (CVE-2017-9841)

PublishedJun 27, 2017
First SeenDec 15, 2023
Last Seen
Reported
CVSS9.8
php

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.

psychologyCrowdSec Analysis

CVE-2017-9841 is a critical vulnerability in PHPUnit that allows remote attackers to execute arbitrary PHP code by accessing a test script inadvertently left exposed in web-accessible locations.

CrowdSec has been tracking this vulnerability and its exploits since 15th of December 2023.

Based on data from the CrowdSec network, nearly all observed exploitation of CVE-2017-9841 is fully opportunistic, with attackers indiscriminately scanning the entire internet. These attacks are automated and lack any form of target selection or reconnaissance. Additionally, according to week-over-week analysis by CrowdSec, exploitation of CVE-2017-9841 is surging. Attack volumes are spiking well above historical norms, indicating widespread and escalating interest from threat actors. CVE-2017-9841 is currently experiencing high visibility and active exploitation across the internet.

Attack attempts are characterized by requests to URLs ending in /vendor/phpunit/phpunit/src/util/php/eval-stdin.php.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2017-06-27
CISA KEV2022-02-15
CISA Remediation Deadline2022-08-15
Rule Released2023-12-15
CrowdSec First Seen2023-12-15

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.