一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-79774 [HIGH] – Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vuln

未分类
📑 文章目录

Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vulnerability in System\Twig\SecurityPolicy that allows authenticated backend users with template-editing permissions to bypass sandbox restrictions. Attackers can exploit method forwarding through Eloquent models and query builders using methods like saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery() to read and modify arbitrary database records, execute arbitrary SQL, and achieve remote code execution by injecting PHP into template code sections.