views.py in Wagtail CRX CodeRed Extensions (formerly CodeRed CMS or coderedcms) before 0.22.3 allows upward protected/..%2f..%2f path traversal when serving protected media.
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/coderedcorp/coderedcms/issues/448 | issue tracking exploit |
https://github.com/coderedcorp/coderedcms/pull/450 | third party advisory |
https://github.com/coderedcorp/coderedcms/compare/v0.22.2...v0.22.3 | patch |