Rapid7 Vulnerability & Exploit Database

Gentoo Linux: CVE-2017-9841: PHPUnit: Remote code execution

Back to Search

Gentoo Linux: CVE-2017-9841: PHPUnit: Remote code execution

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
06/27/2017
Created
07/25/2018
Added
11/20/2017
Modified
12/01/2017

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.

Solution(s)

  • gentoo-linux-upgrade-dev-php-phpunit

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;