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. CrowdSec network telemetry also shows that exploitation of CVE-2017-9841 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.

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.