| Title | feiyuchuixue https://github.com/feiyuchuixue/sz-boot-parent sz-boot-parent <= v1.3.2-beta Arbitrary_File_Read |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/yuccun/CVE/blob/main/sz-boot-parent-Path_Traversal_to_Arbitrary_Resource_File_Read.md |
|---|
| User | yuccun (UID 93614) |
|---|
| Submission | 02/07/2026 20:08 (6 months ago) |
|---|
| Moderation | 02/25/2026 09:32 (18 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 347746 [feiyuchuixue sz-boot-parent up to 1.3.2-beta API templates templateName path traversal] |
|---|
| Points | 20 |
|---|