Skip to main content
VulnerabilityPublished Updated

CVE-2024-40545: PublicCMS · An Arbitrary File Upload

Affects PublicCMSSource CVE Database V5

0

Not known to be exploited · CVSS 7.2 High.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubsanluan/PublicCMSpkg:github/sanluan/PublicCMSOther threatsAffected
  • =4.0.202302
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-40545, organizations should implement the following specific measures: 1) Immediately restrict access to the /admin/cmsWebFile/doUpload endpoint to only trusted administrators and limit privileges to the minimum necessary. 2) Implement strict server-side validation of uploaded files, including checking file extensions, MIME types, and file content signatures to block dangerous file types. 3) Employ application-layer firewalls or web application firewalls (WAFs) with rules designed to detect and block suspicious upload attempts targeting this endpoint. 4) Monitor logs and network traffic for unusual upload activity or attempts to upload executable or script files. 5) If possible, isolate the CMS environment in a sandboxed or containerized environment to limit the impact of potential exploitation. 6) Stay alert for official patches or updates from PublicCMS developers and apply them promptly once available. 7) Conduct regular security audits and penetration testing focused on file upload functionalities. These targeted actions go beyond generic advice and address the specific attack vector and environment of this vulnerability.

Description

An arbitrary file upload vulnerability in the component /admin/cmsWebFile/doUpload of PublicCMS v4.0.202302.e allows attackers to execute arbitrary code via uploading a crafted file.

References

Community reviews

Loading reviews…