| 标题 | sscms V7.4.0 arbitrary file deletion |
|---|
| 描述 | The endpoint is vulnerable to improper path validation. It takes user-controlled request.Path, applies PathUtils.RemoveParentPath() (which only strips literal ../, ..\, ./, and .\), and then passes the result directly to FileUtils.DeleteFileIfExists() / File.Delete(). Because this filter does not block absolute paths or enforce that the final path stays inside a trusted base directory, an authenticated administrator with PluginsAdd permission can delete arbitrary files that the application process can access. This is effectively a CWE-22-related arbitrary file deletion issue. |
|---|
| 来源 | ⚠️ https://www.yuque.com/la12138/pa2fpb/mbcvbk402bx1qbft?singleDoc |
|---|
| 用户 | Saul1213 (UID 94577) |
|---|
| 提交 | 2026-03-03 10時41分 (7 月前) |
|---|
| 管理 | 2026-03-15 17時33分 (12 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 351146 [SSCMS 直到 7.4.0 download PathUtils.RemoveParentPath path 目录遍历] |
|---|
| 积分 | 20 |
|---|