PT-2023-27355 · Zola · Zola
Adeadfed
·
Published
2023-08-13
·
Updated
2023-08-22
·
CVE-2023-40274
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
zola versions 0.13.0 through 0.17.2
Description
An issue was discovered in the custom implementation of a web server, available via the "zola serve" command, which allows directory traversal. The
handle request function, used by the server to process HTTP requests, does not account for sequences of special path control characters (../) in the URL when serving a file, allowing one to escape the webroot of the server and read arbitrary files from the filesystem.Recommendations
For zola versions 0.13.0 through 0.17.2, consider disabling the
handle request function or restricting access to the web server until a patch is available. As a temporary workaround, avoid using the "zola serve" command to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Zola