Bug 1795615 (CVE-2017-9841) - CVE-2017-9841 php-phpunit-PHPUnit: allows attackers to execute arbitrary PHP code via HTTP POST data
Summary: CVE-2017-9841 php-phpunit-PHPUnit: allows attackers to execute arbitrary PHP ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-9841
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1795616
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-28 13:29 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-02-05 23:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in PHPUnit, versions prior to 4.8.28 and prior to 5.6.3, that allows a remote attacker to execute arbitrary PHP code via an HTTP POST. This vulnerability affects a system's data integrity and confidentiality and can impact system availability.
Clone Of:
Environment:
Last Closed: 2020-01-28 13:48:55 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-01-28 13:29:25 UTC
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.

Reference:
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/

Comment 1 Guilherme de Almeida Suckevicz 2020-01-28 13:30:13 UTC
Created php-phpunit-PHPUnit tracking bugs for this issue:

Affects: epel-6 [bug 1795616]

Comment 2 Remi Collet 2020-01-28 13:48:55 UTC
PHPUnit is a developer tool

And if people deploy web app with developer stuff.... yes they are unsecure.


Note You need to log in before you can comment on or make changes to this bug.