An issue in the restores method (DataBackup.php) of foxcms v2.0.6 allows attackers to execute a 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://gitee.com/qianfox/foxcms/tree/V1.2.5/ | release notes |
https://gist.github.com/chao112122/350e1af42ccea185206f8a8b9e4906e1 | third party advisory exploit |