#VU99566 Path traversal in Werkzeug - CVE-2024-49766


Vulnerability identifier: #VU99566

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-49766

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Werkzeug
Web applications / JS libraries

Vendor: The Pallets Projects

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to input validation error when processing UNC paths on Windows. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Werkzeug: 0.1 - 3.0.5


External links
https://github.com/pallets/werkzeug/security/advisories/GHSA-f9vj-2wh5-fj8j
https://github.com/pallets/werkzeug/commit/2767bcb10a7dd1c297d812cc5e6d11a474c1f092
https://github.com/pallets/werkzeug/releases/tag/3.0.6


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability