漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Apache FreeMarker, Apache FreeMarker: A malformed locale may be exploitable for path traversal attacks
Vulnerability Description
Path traversal vulnerability in Apache FreeMarker template loading mechanism, if the attacker can specify an arbitrary malformed locale identifier to FreeMarker, and the localized lookup configuration setting is enabled (it's by default enabled).
This issue affects Apache FreeMarker from 2.2.0 through 2.3.34.
Users are recommended to upgrade to version 2.3.35. Disabling localized lookup in previous versions also mitigates this.
Note that even in versions affected by this vulnerability, the files that can be loaded remain restricted by the TemplateLoader that FreeMarker is configured to use. In particular, FileTemplateLoader prevents attempts to traverse outside the baseDir specified in its constructor. Other TemplateLoader implementations may allow access outside their designated base directory, but they are still constrained by the underlying storage mechanism—for example, a loader wrapping a Java class loader can only access resources that the class loader can load, while one wrapping a web application context can only access resources available through that context.
CVSS Information
N/A
Vulnerability Type
相对路径遍历
Vulnerability Title
Apache FreeMarker 路径遍历漏洞
Vulnerability Description
Apache FreeMarker是美国Apache基金会的一款服务端软件产品。 Apache FreeMarker 2.2.0版本至2.3.34版本存在路径遍历漏洞,该漏洞源于模板加载机制中的路径遍历问题,当攻击者向FreeMarker指定任意畸形的locale标识符且本地化查找配置启用时,可能导致路径遍历攻击。
CVSS Information
N/A
Vulnerability Type
N/A