PHPUnit 是一个用于 PHP 的测试框架。在 13.4.0 至 13.4.4 版本中, 文件中的 逻辑会在 下创建一个可预测的 目录,用于存放 PHPT 代码覆盖率的临时文件,并在未验证该目录所有权或权限的情况下重复使用该目录。在共享临时路径的多用户系统上,本地攻击者可以在开发者运行带代码覆盖率的 PHPT 测试之前预先创建该目录,从而在子进程通过 执行生成的任务文件之前替换该文件,进而以开发者的权限执行任意代码,同时测试过程和覆盖率报告仍显示为成功。PHPUnit 12.5 及更早版本、macOS 和 Wi
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| sebastianbergmann | phpunit | >= 13.4.0, < 13.4.4 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| sebastianbergmann | phpunit | >= 13.4.0, < 13.4.4 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC