Summary
CVE-2024-58387 is a path traversal vulnerability (CWE-22) in Inspur Haiyue HCM Cloud, a cloud-based human capital management platform marketed for large enterprises. The flaw resides in the /api/model_report/file/download endpoint, which fails to validate user-supplied path parameters, allowing unauthenticated remote attackers to read arbitrary files from the underlying server. The vulnerability carries a High severity rating and has been associated with active exploitation attempts observed in the wild.
Technical details
- Root cause: the
/api/model_report/file/downloadendpoint acceptsindexandextrequest parameters that are used to construct a file path without sanitization or restriction to an intended directory. - Trigger condition: an attacker sends a crafted HTTP request to the endpoint, manipulating the
indexandextparameters to traverse outside the intended file storage directory (e.g., using../-style sequences). - Attack vector: network-based, requires no authentication and no user interaction, making it low-complexity to exploit.
- Impact: arbitrary file disclosure, including operating system files such as
/etc/passwd, application database files, and system/application configuration files — potentially exposing credentials, employee personal data, and other sensitive HR platform contents. - Exploitation activity targeting this endpoint was first observed and documented by the Shadowserver Foundation on November 4, 2024.
Affected software
- Inspur Haiyue HCM Cloud — all versions (no version range restriction specified by the vendor/CVE record).
Severity
- CVSS v3.1 Base Score: 7.5 (High)
- CVSS v3.1 Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - A CVSS v4.0 score of 8.7 (High) has also been assigned to this vulnerability (vector:
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).
Mitigation and recommended actions
- Immediate: Apply the vendor-supplied patch or updated build of Inspur Haiyue HCM Cloud that remediates path traversal on the
/api/model_report/file/downloadendpoint. Organizations should contact Inspur directly to confirm the patched release applicable to their deployment, as no specific fixed version number is published in the CVE record. - If no patch is available: Restrict network exposure of the HCM Cloud application to the internet, placing it behind a VPN or access-controlled network segment; deploy a web application firewall (WAF) rule to block path traversal sequences and suspicious requests to the
/api/model_report/file/downloadendpoint; monitor logs for requests containing traversal patterns (e.g.,../) or anomalousindex/extparameter values; and restrict the web server/application process’s file-system permissions to limit the blast radius of any successful file read.

