漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Twig may load a template outside a configured directory when using the filesystem loader
Vulnerability Description
Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Sensio Labs Twig 路径遍历漏洞
Vulnerability Description
Sensio Labs Twig是法国Sensio Labs公司的一个PHP模板引擎,它支持自定义标签和过滤器,并创建DSL。 Twig 1.44.7 版本之前的 1.x 版本、2.15.3 版本之前的 2.x 版本和 3.4.3 版本之前的 3.x 版本存在路径遍历漏洞,该漏洞源于使用特定命名空间时可以使用 source 和 include 从模板目录引用任意文件。
CVSS Information
N/A
Vulnerability Type
N/A