漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController
Vulnerability Description
The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
Vulnerability Type
授权机制缺失
Vulnerability Title
Grav 授权问题漏洞
Vulnerability Description
Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 1.0.13之前版本存在授权问题漏洞,该漏洞源于API密钥作用域上限绕过,端点使用requirePermission('api.config.write')和isSuperAdmin()检查代替requireSuper(),且isSuperAdmin()直接读取access.api.super而不检查api_key_scopes,低权限API密钥可绕过限制,攻击者可向security.twig_sandbox白名单添加任意令牌,导致
CVSS Information
N/A
Vulnerability Type
N/A