9.8Critical KEV

CVE-2017-9841PHPUnit Command Injection Vulnerability

phpunit project phpunit; oracle communications diameter signaling router Published: (9 years ago)

Known exploited — PHPUnit Command Injection Vulnerability

CISA confirmed this vulnerability is used in real attacks on 15.02.2022. Remediation deadline for US federal agencies: 15.08.2022.

Required action: Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2017-9841

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.

Weakness (CWE): CWE-94

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
oracle communications diameter signaling router 8.0.0 – ≤ 8.5.0
phpunit project phpunit ≤ 4.8.27

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* ≤ 4.8.27
  • cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* ≥ 5.0.0 < 5.6.3
  • cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* ≥ 8.0.0 ≤ 8.5.0