
CVE-2025-47916的概念验证描述,这是一个远程代码执行漏洞,影响Invision Community 5.0.0–5.0.6,通过"customCss()"方法中的不安全模板处理触发。
本仓库为 CVE‑2025‑47916 提供了概念验证描述,这是一个影响 Invision Community 5.0.0 至 5.0.6 版本的远程代码执行漏洞。该问题源于 customCss() 方法对用户提供输入的不当处理,允许未认证的攻击者执行精心构造的模板表达式。
漏洞位于以下文件中的 IPS\core\modules\front\system\themeeditor::customCss() 方法内:
/applications/core/modules/front/system/themeeditor.php
该方法可在无需认证的情况下被调用,并将 content 请求参数传递给 Theme::makeProcessFunction()。由于该值会经过模板引擎处理,精心构造的输入可能导致 任意 PHP 代码执行。这使得远程未认证攻击者能够在 Invision Community 环境中实现完全代码执行。
usage: main.py [options] target
positional arguments:
target Target URL
optional arguments:
-p, --proxy PROXY Proxy server to route requests
-c, --command CMD Single command to process (for testing output handling)
-t, --test Perform a non-intrusive vulnerability check
升级至 Invision Community 5.0.7 或更高版本,该问题已得到修复。
漏洞由 Egidio Romano 发现。