| Título | feiyuchuixue https://github.com/feiyuchuixue/sz-boot-parent sz-boot-parent <= v1.3.2-beta Arbitrary_File_Read |
|---|
| Descripción | 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. |
|---|
| Fuente | ⚠️ https://github.com/yuccun/CVE/blob/main/sz-boot-parent-Path_Traversal_to_Arbitrary_Resource_File_Read.md |
|---|
| Usuario | yuccun (UID 93614) |
|---|
| Sumisión | 2026-02-07 20:08 (hace 8 meses) |
|---|
| Moderación | 2026-02-25 09:32 (18 days later) |
|---|
| Estado | Aceptado |
|---|
| Entrada de VulDB | 347746 [feiyuchuixue sz-boot-parent hasta 1.3.2-beta API templates templateName recorrido de directorios] |
|---|
| Puntos | 20 |
|---|