漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Bolt CMS Server-Side Template Injection via Unsandboxed allow_twig Field Rendering
Vulnerability Description
Bolt CMS renders content field values through Twig's full application-level Environment with no SandboxExtension registered anywhere in the codebase. In src/Entity/Field.php, getTwigValue calls shouldBeRenderedAsTwig, which gates rendering only on the field definition's allow_twig flag and a regex checking for , , or ; when true, the raw field value is compiled and rendered via with no sandboxing.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
CWE-1336
Vulnerability Title
Bolt 代码注入漏洞
Vulnerability Description
Bolt是Bolt组织开源的一款内容管理系统。 Bolt 6.1及之前版本存在代码注入漏洞,该漏洞源于未注册SandboxExtension的情况下使用Twig全应用级Environment渲染内容字段值,仅通过allow_twig标志和正则检查过滤,导致具有编辑权限的用户可注入Twig有效载荷执行任意OS命令,实现远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A