cve/2023/CVE-2023-26152.md

19 lines
762 B
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-26152](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-26152)
![](https://img.shields.io/static/v1?label=Product&message=static-server&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%20*%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Directory%20Traversal&color=brighgreen)
### Description
All versions of the package static-server are vulnerable to Directory Traversal due to improper input sanitization passed via the validPath function of server.js.
### POC
#### Reference
- https://gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d
- https://security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds