mat2 (aka metadata anonymisation toolkit) before 0.13.0 allows ../ directory traversal during the ZIP archive cleaning process. This primarily affects mat2 web instances, in which clients could obtain sensitive information via a crafted archive.
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://0xacab.org/jvoisin/mat2/-/issues/174 | issue tracking exploit vendor advisory |
https://0xacab.org/jvoisin/mat2/-/commit/beebca4bf1cd3b935824c966ce077e7bcf610385 | exploit patch vendor advisory |
https://dustri.org/b/mat2-0130.html | third party advisory patch |
https://www.debian.org/security/2022/dsa-5185 | third party advisory vendor advisory |