漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Grav CMS 2.0.7 through 2.0.10 Arbitrary Method Invocation via Blueprint
Vulnerability Description
Grav CMS versions 2.0.7 through 2.0.10 fail to validate fully-qualified static method calls (Class::method) in blueprint dynamic-field directives because Blueprint::isSafeDynamicCall() only applies its dangerous-callable denylist to strings that do not contain '::'. An account with only page-editing rights (admin.pages, not super-admin or admin.pages_twig) can plant a directive in a page's form-field frontmatter that invokes an arbitrary public static PHP method with attacker-controlled arguments. Using built-in gadget methods this allows reading of any server-readable file (disclosed to anonymous visitors of the crafted page) and arbitrary creation/copying of files and directories under the web-server account. Fixed in 2.0.11.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
getgrav grav 代码注入漏洞
Vulnerability Description
getgrav Grav是getgrav个人开发者开源的一款一套可扩展的内容管理系统。 getgrav grav 2.0.7版本至2.0.10版本存在代码注入漏洞,该漏洞源于Blueprint::isSafeDynamicCall()未正确验证完全限定的静态方法调用(Class::method),仅对不包含'::'的字符串应用危险可调用拒绝列表,导致具有页面编辑权限的账户可在页面表单字段frontmatter中植入指令,调用任意公共静态PHP方法,从而读取服务器可读文件并任意创建或复制文件和目录。
CVSS Information
N/A
Vulnerability Type
N/A