The mkdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000, enabling remote exploitation to obtain :sensitive information. NOTE: the vendor has disputed this as described in https://github.com/mkdocs/mkdocs/issues/2601.] and https://github.com/nisdn/CVE-2021-40978/issues/1
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://github.com/mkdocs/mkdocs | third party advisory |
https://github.com/nisdn/CVE-2021-40978 | third party advisory exploit |
https://github.com/mkdocs/mkdocs/issues/2601 | issue tracking third party advisory |
https://github.com/nisdn/CVE-2021-40978/issues/1 | issue tracking third party advisory |