KnowSafe 安全预警:KnowSafe 安全团队监测到编号 AVD-2017-9841 的安全漏洞(危害等级:严重)已公开披露,相关用户应尽快排查并完成修复。
漏洞介绍
PHPUnit是其中的一个基于PHP的测试框架。
PHPUnit 4.8.28之前的版本和5.6.3之前的5.x版本中的Util/PHP/eval-stdin.php文件存在安全漏洞。远程攻击者可通过发送以‘<?php’字符串开头的HTTP POST数据利用该漏洞执行任意PHP代码。
影响范围
应用:phpunit_project phpunit(影响面 Up to (including) 4.8.27)
应用:phpunit_project phpunit(影响面 Up to (excluding) 5.6.3)
系统:debian DPKG(影响面 Up to (excluding) 5.4.6-2~deb9u1)
系统:debian_10 phpunit(影响面 Up to (excluding) 5.4.6-2)
系统:debian_11 phpunit(影响面 Up to (excluding) 5.4.6-2)
系统:debian_12 phpunit(影响面 Up to (excluding) 5.4.6-2)
系统:ubuntu_18.04.5_lts phpunit(影响面 Up to (excluding) 6.5.5-1ubuntu2)
系统:ubuntu_18.10 phpunit(影响面 Up to (excluding) 6.5.5-1ubuntu2)
解决方案
厂商已发布了漏洞修复程序,请及时关注更新:
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
KnowSafe 将持续跟踪该漏洞的利用情况与修复进展,如需漏洞管理与应急响应支持,欢迎联系 KnowSafe 安全团队。