| Titolo | feiyuchuixue https://github.com/feiyuchuixue/sz-boot-parent sz-boot-parent <= v1.3.2-beta Arbitrary_File_Read |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/yuccun/CVE/blob/main/sz-boot-parent-Path_Traversal_to_Arbitrary_Resource_File_Read.md |
|---|
| Utente | yuccun (UID 93614) |
|---|
| Sottomissione | 07/02/2026 20:08 (8 mesi fa) |
|---|
| Moderazione | 25/02/2026 09:32 (18 days later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 347746 [feiyuchuixue sz-boot-parent fino a 1.3.2-beta API templates templateName directory traversal] |
|---|
| Punti | 20 |
|---|