id: CVE-2017-9841 info: name: PHPUnit - Remote Code Execution author: Random_Robbie,pikpikcu severity: critical description: 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 " - | GET /yii/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/html - | GET /laravel/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/html - | GET /laravel52/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/html - | GET /lib/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/html - | GET /zend/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php HTTP/1.1 Host: {{Hostname}} Content-Type: text/html matchers-condition: and matchers: - type: word part: body words: - '{{md5(string)}}' - type: status status: - 200 # digest: 490a0046304402202078c32d415f0d4e243e6fc17416ff9ade6bd20d2ae6a3ac252dfc8a6ee027c1022041e191ff34c16f28e3536af783ce63194343448ce56f545a72cec0572324b843:922c64590222798bb761d5b6d8e72950