CVE-2021-48011
Servor 1.0.0 through 4.0.2 contains a path traversal vulnerability …
Servor 1.0.0 through 4.0.2 contains a path traversal vulnerability that allows unauthenticated remote attackers to escape the served root by sending URL-encoded dot segments. Attackers can send %2e%2e/ sequences, which decodeURI() decodes before path.join() in serveStaticFile and serveDirectoryListing, to read arbitrary files and list directories outside the root.
What to do now
- Check your exposureFind out whether the affected software 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
- github.com/lukejacksonn/servor
- github.com/lukejacksonn/servor/commit/ec7d824ea6903c0fb97a452045bbb8335198cbab
- github.com/lukejacksonn/servor/pull/70
- www.vulncheck.com/advisories/servor-1.0.0-through-4.0.2-unauthenticated-path-traversal-via
- nvd.nist.gov/vuln/detail/CVE-2021-48011
- cve.org/CVERecord?id=CVE-2021-48011
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.