Technical impact
A flaw in the Attachment Download API of dayrui XunRuiCMS up to version 4.7.4 allows an attacker to manipulate the identifier used in the download function to upload arbitrary files. This unauthorized upload can lead to the execution of malicious code or further compromise the application, as the vulnerability exposes a path to store files without sufficient validation. The weakness is classified as CWE‑284 (Improper Access Control) and CWE‑434 (Untrusted File Upload).
Affected Systems
The affected product is XunRuiCMS produced by dayrui. All releases up to and including version 4.7.4 are vulnerable. No later versions have been confirmed to mitigate the issue. Since the CVE does not specify sub‑versions, any build in the 4.x series where the current code of Api.php is present remains susceptible.
Risk and Exploitability
The CVSS score of 6.9 indicates a moderate severity. An attacker can perform the exploit remotely, and an exploit is publicly available, although the EPSS score is not provided. The vulnerability is not listed in the CISA KEV catalog. Because the flaw allows direct upload of arbitrary files, the risk of successful exploitation is significant, especially for attackers who can coerce the application into trusting content from an attacker-controlled source. An exhaustive attack would typically involve sending a crafted HTTP request to the download endpoint with a manipulated ID parameter that triggers the unintended upload logic.