An issue was discovered in XiaoCms 20141229. admin\controller\database.php allows arbitrary directory deletion via admin/index.php?c=database&a=import&paths[]=../ 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.patec.cn/newsshow.php?cid=24&id=136 | third party advisory broken link |
https://github.com/AvaterXXX/XiaoCms/blob/master/DIR_DEL.md | third party advisory exploit |