The XMLUI feature in DSpace before 3.6, 4.x before 4.5, and 5.x before 5.5 allows directory traversal via the themes/ path in an attack with two or more arbitrary characters and a colon before a pathname, as demonstrated by a themes/Reference/aa:etc/passwd URI.
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/DSpace/DSpace/releases/tag/dspace-5.5 | third party advisory |
https://wiki.duraspace.org/display/DSDOC5x/Release+Notes | vendor advisory |
https://jira.duraspace.org/browse/DS-3094 | patch vendor advisory |