uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.
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://www.exploit-db.com/exploits/44223/ | exploit vdb entry third party advisory |
https://www.debian.org/security/2018/dsa-4142 | third party advisory vendor advisory |
https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html | vendor advisory |