CVE-2023-40274
Last modified
CVE-2023-40274 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. An issue was discovered in zola 0.13.0 through 0.17.2. The custom implementation of a web server, available via the "zola serve" command, allows directory traversal. EPSS estimates a 0.92% chance of exploitation in the next 30 days.
Description
An issue was discovered in zola 0.13.0 through 0.17.2. The custom implementation of a web server, available via the "zola serve" command, 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, which allows one to escape the webroot of the server and read arbitrary files from the filesystem.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getzola | Zola | >= 0.13.0, <= 0.17.2 |
References
- https://github.com/getzola/zola/issues/2257Exploit, Issue Tracking, Vendor Advisory
- https://github.com/getzola/zola/issues/2257Exploit, Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-40274?
How severe is CVE-2023-40274?
How do I fix CVE-2023-40274?
Are you affected by CVE-2023-40274?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
