Vulnerability Information
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.
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