CVE-2026-4351 in Perfmatters Plugin信息

摘要

由 VulDB • 2026-05-08

WordPress 的 Perfmatters 插件存在任意文件覆盖漏洞,该漏洞源于路径遍历问题,影响所有 2.5.9 及以下版本。这是由于 `PMCS::action_handler()` 方法在处理批量操作 `activate`/`deactivate` 处理器时,未进行任何授权检查或 nonce 验证。`$_GET['snippets'][]` 的值未经过清理直接传递给 `Snippet::activate()`/`Snippet::deactivate()`,后者随后调用 `Snippet::update()` 并使用经过遍历的路径调用 `file_put_contents()`。这使得具有订阅者(Subscriber)级别及以上权限的已认证攻击者能够以固定的 PHP docblock 内容覆盖服务器上的任意文件,可能通过损坏 `.htaccess` 或 `index.php` 等关键文件导致拒绝服务(DoS)。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Do you know our Splunk app?

Download it now for free!