Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package phpunit  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Attacked
EPSS
100% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1904-PHPUNIT-653000
  • published27 Jun 2017
  • disclosed27 Jun 2017

Introduced: 27 Jun 2017

CVE-2017-9841  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:19.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream phpunit package and not the phpunit package as distributed by Ubuntu.

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.