| Titel | feiyuchuixue https://github.com/feiyuchuixue/sz-boot-parent sz-boot-parent <= v1.3.2-beta Arbitrary_File_Read |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/yuccun/CVE/blob/main/sz-boot-parent-Path_Traversal_to_Arbitrary_Resource_File_Read.md |
|---|
| Benutzer | yuccun (UID 93614) |
|---|
| Einreichung | 07.02.2026 20:08 (vor 8 Monaten) |
|---|
| Moderieren | 25.02.2026 09:32 (18 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 347746 [feiyuchuixue sz-boot-parent bis 1.3.2-beta API templates templateName Directory Traversal] |
|---|
| Punkte | 20 |
|---|