CVE-2023-26126
M.static Project M.static vulnerability
All versions of the package m.static are vulnerable to Directory Traversal due to improper input sanitization of the path being requested via the requestFile function.
Affected products
M.static. The exact versions are in the references.
What to do now
- Check your exposureFind out whether M.static Project M.static 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/dcb32c11ce87f5aafd2282b90b4dc998 · Exploit
- security.snyk.io/vuln/SNYK-JS-MSTATIC-3244915 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2023-26126
- github.com/ivoputzer/m.static/blob/master/index.js#L19
- github.com/advisories/GHSA-vcxh-qvgr-9fw9
- nvd.nist.gov/vuln/detail/CVE-2023-26126
- cve.org/CVERecord?id=CVE-2023-26126
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.