漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Smarty: Symlink path traversal out of trusted directories
Vulnerability Description
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. Prior to 5.8.2 (and 4.5.7 on the 4.x line), Security::_checkDir() does not fully resolve symbolic links before validating that a requested path lies within a configured secure directory. An attacker able to place or reference a symlink within a directory Smarty treats as trusted (e.g., a template or config directory) could use it to point outside the intended secure directory, bypassing the containment check and reading arbitrary files accessible to the PHP process. This issue is fixed in versions 5.8.2 and 4.5.7.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Smarty PHP Template Engine Smarty template engine 路径遍历漏洞
Vulnerability Description
Smarty PHP Template Engine Smarty template engine是Smarty PHP Template Engine组织开源的一款服务器端模板引擎。 Smarty PHP Template Engine Smarty template engine 5.8.2之前版本和4.5.7之前版本存在安全漏洞,该漏洞源于Security::_checkDir()函数在验证请求路径是否位于配置的安全目录之前未完全解析符号链接,导致攻击者可通过在受信任目录中放置或引用符号链接绕过安全
CVSS Information
N/A
Vulnerability Type
N/A