漏洞描述
PHPUnit是其中的一个基于PHP的测试框架。
PHPUnit 4.8.28之前的版本和5.6.3之前的5.x版本中的Util/PHP/eval-stdin.php文件存在安全漏洞。远程攻击者可通过发送以‘<?php’字符串开头的HTTP POST数据利用该漏洞执行任意PHP代码。
解决建议
厂商已发布了漏洞修复程序,请及时关注更新:
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
参考链接
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/
http://www.securityfocus.com/bid/101798
http://www.securitytracker.com/id/1039812
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
https://github.com/sebastianbergmann/phpunit/pull/1956
https://security.gentoo.org/glsa/201711-15
https://www.oracle.com/security-alerts/cpuoct2021.html