Submit #386433: ltcms.com ltcms V1.0.20 Arbitrary File Readinfo

Titleltcms.com ltcms V1.0.20 Arbitrary File Read
DescriptionIn 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)
Submission08/06/2024 06:10 (2 years ago)
Moderation08/13/2024 16:13 (7 days later)
StatusAccepted
VulDB entry274361 [wanglongcn ltcms 1.0.20 API Endpoint /api/file/downloadfile downloadFile path traversal]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!