{"id":"CVE-2024-58387","summary":"Inspur HCM Cloud Arbitrary File Read via file/download Endpoint","details":"Inspur Haiyue HCM Cloud contains an arbitrary file read vulnerability in the /api/model_report/file/download endpoint that allows unauthenticated remote attackers to read arbitrary files by supplying unvalidated path parameters index and ext. Attackers can craft requests such as /api/model_report/file/download?index=/&ext=\u003cpath\u003e to traverse the filesystem and disclose sensitive files including /etc/passwd, application database files, and system configuration files. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-11-04 .","modified":"2026-11-18T22:45:18.430910716Z","published":"2026-09-30T20:24:25.915Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58387.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58387.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58387"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/inspur-hcm-cloud-arbitrary-file-read-via-file-download-endpoint"},{"type":"ARTICLE","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/hcm/hcm-cloud-lfi.yaml"},{"type":"EVIDENCE","url":"https://cn-sec.com/archives/3372984.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/projectdiscovery/nuclei-templates","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"}]}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58387.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}