PT-2023-20531 · Unknown · Statics-Server

Liran Tal

·

Published

2023-10-02

·

Updated

2023-10-23

·

CVE-2023-26152

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions static-server versions all
Description The issue arises from improper input sanitization passed via the validPath function of server.js, leading to Directory Traversal. This vulnerability affects a popular library that had 100,000 weekly downloads up to a year ago and is still actively downloaded.
Recommendations For all versions, consider disabling the validPath function of server.js as a temporary workaround until a patch is available. Restrict access to sensitive directories 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

CVE-2023-26152
GHSA-V834-RHV4-65M3

Affected Products

Statics-Server