一、 漏洞 CVE-2023-34252 基础信息
漏洞标题
高压服务器端模板注入通过filterFilter中的不足验证
来源:AIGC 神龙大模型
漏洞描述信息
通过filterFilter的不足验证实现Grav Server-side Template Injection
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源:AIGC 神龙大模型
漏洞类别
对生成代码的控制不恰当(代码注入)
来源:AIGC 神龙大模型
漏洞标题
Grav Server-side Template Injection via Insufficient Validation in filterFilter
来源:美国国家漏洞数据库 NVD
漏洞描述信息
Grav is a flat-file content management system. Prior to version 1.7.42, there is a logic flaw in the `GravExtension.filterFilter()` function whereby validation against a denylist of unsafe functions is only performed when the argument passed to filter is a string. However, passing an array as a callable argument allows the validation check to be skipped. Consequently, a low privileged attacker with login access to Grav Admin panel and page creation/update permissions is able to inject malicious templates to obtain remote code execution. The vulnerability can be found in the `GravExtension.filterFilter()` function declared in `/system/src/Grav/Common/Twig/Extension/GravExtension.php`. Version 1.7.42 contains a patch for this issue. End users should also ensure that `twig.undefined_functions` and `twig.undefined_filters` properties in `/path/to/webroot/system/config/system.yaml` configuration file are set to `false` to disallow Twig from treating undefined filters/functions as PHP functions and executing them.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
不完整的黑名单
来源:美国国家漏洞数据库 NVD
漏洞标题
Grav 代码注入漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Grav是一套可扩展的用于个人博客、小型内容发布平台和单页产品展示的CMS(内容管理系统)。 Grav 1.7.42之前版本存在安全漏洞,该漏洞源于存在服务器端模板注入 (SSTI)漏洞,允许攻击者通过注入恶意模板来执行远程代码。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
代码注入
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2023-34252 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2023-34252 的情报信息