CVE-2023-26152
Nbluis Static-server vulnerability
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.
Affected products
Static-server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nbluis Static-server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/lirantal/1f7021703a2065ecaf9ec9e06a3a346d · Exploit
- security.snyk.io/vuln/SNYK-JS-STATICSERVER-5722341 · Exploit
- github.com/nbluis/static-server/blob/master/server.js%23L218-L223
- nvd.nist.gov/vuln/detail/CVE-2023-26152
- github.com/nbluis/static-server/blob/master/server.js#L218-L223
- github.com/advisories/GHSA-v834-rhv4-65m3
- nvd.nist.gov/vuln/detail/CVE-2023-26152
- cve.org/CVERecord?id=CVE-2023-26152
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.