| Title | ltcms.com ltcms V1.0.20 Arbitrary File Read |
|---|
| Description | In ltcms, there is an API endpoint "api/file/downloadFile" that can be used to read arbitrary files and no authentication is required. By examining the api.php file, it is found that the corresponding method is located in "File/downloadFile". By tracing further, the specific implementation code can be found in "app/utils/base/helper/Ltcms_download.php". In the implementation of the downloadFile function, fopen reads the content of the file specified in the file parameter and subsequently outputs the read result based on certain conditions. Chains: app/api/route/api.php -> app/api/controller/File.php -> app/client/api/C_file.php -> app/utils/base/helper/Ltcms_download.php |
|---|
| Source | ⚠️ https://github.com/DeepMountains/Mirage/blob/main/CVE14-2.md |
|---|
| User | Dee.Mirage (UID 71702) |
|---|
| Submission | 08/06/2024 06:10 (2 years ago) |
|---|
| Moderation | 08/13/2024 16:13 (7 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 274361 [wanglongcn ltcms 1.0.20 API Endpoint /api/file/downloadfile downloadFile path traversal] |
|---|
| Points | 20 |
|---|