目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-100671— Grav <2.0.25 Twig沙箱会话Cookie窃取漏洞

一分钟漏洞结论

影响对象
getgrav grav
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Grav 是一个基于文件的 CMS(内容管理系统)。在版本 2.0.19 至 2.0.24 中,以及在版本 2.0.0 至 2.0.18 和 1.7.x 中(仅限于明确启用了内容 Twig 模板处理功能的情况),由仅拥有“页面写入”权限的用户撰写的页面内容,会通过一个 Twig 沙箱进行渲染。该沙箱允许调用 函数,该函数会返回随当前请求发送的任何 Cookie,包括访问者的会话 Cookie。由于该读取操作是通过服务器端的 执行的,因此 HttpOnly、Secure 和 SameSite 等 Cookie 属性无

CVSS 8.0 · High EPSS 0.29% · P19
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-100671 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Grav before 2.0.25 Session Cookie Theft via Twig Sandbox
来源: CVE Program / CVE List V5
Vulnerability Description
Grav is a flat-file CMS. In versions 2.0.19 through 2.0.24 — and in 2.0.0 through 2.0.18 and 1.7.x only where content Twig has been explicitly enabled — page content authored by a user holding only page-write permission is rendered through a Twig sandbox that allowlists get_cookie(), which returns any cookie sent with the current request, including the visitor's session cookie. Because the read occurs server-side via filter_input(INPUT_COOKIE, ...), the HttpOnly, Secure and SameSite attributes offer no protection. Grav then stores the finished post-Twig output in a page-content cache keyed only on page identity and the configuration checksum, with no session, user or request dimension and no bypass for authenticated visitors. A page published by a page-write user can therefore capture the session identifier of the next administrator who views it, after which the cached output serves that identifier to unauthenticated visitors, who can replay the cookie to authenticate as that administrator. Since 2.0.19, security.twig_content.process_enabled defaults to true and Security::applyTwigContentDefault() derives each page's process.twig flag from that gate, so content Twig runs on every page with no frontmatter or operator action. Fixed in 2.0.25; 1.7.x is outside the backport scope.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
getgrav grav 0 ~ 2.0.25 -

二、漏洞 CVE-2026-100671 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-100671 的情报信息

请登录查看更多情报信息。

CVE-2026-100671 厂商安全公告 (1)

CVE-2026-100671 其他参考 (1)

同批安全公告 · getgrav · 2026-09-26 · 共 7 条

CVE-2026-100670 8.8 HIGH Grav CMS 2.0.14-2.0.24 提权漏洞
CVE-2026-100673 8.2 HIGH Grav Data Manager 1.4.5 之前版本存储型跨站脚本漏洞
CVE-2026-100669 7.5 HIGH Grav <2.0.25 敏感文件泄露漏洞
CVE-2026-100672 7.5 HIGH grav-plugin-comments 1.2.11 前未授权信息泄露漏洞
CVE-2026-100668 6.5 MEDIUM Grav 2.0.25 沙箱逃逸漏洞
CVE-2026-100667 5.3 MEDIUM grav-plugin-login 3.8.7至3.9.6双重认证绕过漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-100671

暂无评论


发表评论