| 标题 | feiyuchuixue https://github.com/feiyuchuixue/sz-boot-parent sz-boot-parent <= v1.3.2-beta Arbitrary_File_Read |
|---|
| 描述 | The API `/api/admin/common/download/templates?templateName=../application.yml` is vulnerable to **directory traversal**, which allows attackers to read arbitrary resource files on the server.
In the `CommonServiceImpl.java` file, the `templateName` parameter is directly concatenated to the `templatePath` that starts with `classpath:/templates/` for resource acquisition. This improper parameter handling enables attackers to use the `../` sequence to break out of the `templates` directory, thereby gaining unauthorized access to and reading any resource file on the server. |
|---|
| 来源 | ⚠️ https://github.com/yuccun/CVE/blob/main/sz-boot-parent-Path_Traversal_to_Arbitrary_Resource_File_Read.md |
|---|
| 用户 | yuccun (UID 93614) |
|---|
| 提交 | 2026-02-07 20時08分 (8 月前) |
|---|
| 管理 | 2026-02-25 09時32分 (18 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 347746 [feiyuchuixue sz-boot-parent 直到 1.3.2-beta API templates templateName 目录遍历] |
|---|
| 积分 | 20 |
|---|