netVigilance Vulnerability intelligence since 2004
CVE-2017-9841 · netVigilance record NV22-0060

PHPUnit Command Injection

past due

What to do

Apply updates per vendor instructions.

CISA deadline 2022-08-15 · passed 4 years ago · applies to US federal civilian agencies; used elsewhere as a reference SLA

What happened

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.

Who is affected

PHPUnit PHPUnit. Affected version ranges are listed in the vendor advisory and the NVD entry linked under Sources.

Weakness class: CWE-94.

Timeline

  1. Added to CISA KEVExploitation in the wild confirmed by CISA
  2. CISA remediation deadlinepassed 4 years ago

Sources