漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Flight: Path traversal in `make:controller` CLI creates arbitrary directories outside project root
Vulnerability Description
Flight is an extensible micro-framework for PHP. Prior to 3.18.1, the make:controller CLI command calls mkdir(..., recursive: true) on a path built from the user-supplied controller name, before Nette's class-name validation runs. The class-file write is correctly rejected by Nette when the name contains /, but the recursive directory creation side effect is already committed — including directories located outside the project root through ../ traversal. This vulnerability is fixed in 3.18.1.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Flight 路径遍历漏洞
Vulnerability Description
Flight是Mike Cao个人开发者的一个PHP微框架。 Flight 3.18.1之前版本存在路径遍历漏洞,该漏洞源于make:controller CLI命令在类名验证前,基于用户提供的控制器名称创建目录,可能导致通过../遍历在项目根目录外创建目录。
CVSS Information
N/A
Vulnerability Type
N/A