CVE-2024-40645
CVE-2024-40645 is a high-severity vulnerability in Fogproject with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-38555
- Weakness: CWE-434
- Affected product: Fogproject
- Published:
- Last modified:
Description
FOG is a cloning/imaging/rescue suite/inventory management system. An improperly restricted file upload feature allows authenticated users to execute arbitrary code on the fogproject server. The Rebranding feature has a check on the client banner image requiring it to be 650 pixels wide and 120 pixels high. Apart from that, there are no checks on things like file extensions. This can be abused by appending a PHP webshell to the end of the image and changing the extension to anything the PHP web server will parse. This vulnerability is fixed in 1.5.10.41.
Frequently asked questions
- What is CVE-2024-40645?
- FOG is a cloning/imaging/rescue suite/inventory management system. An improperly restricted file upload feature allows authenticated users to execute arbitrary code on the fogproject server. The Rebranding feature has a check on the client banner image requiring it to be 650 pixels wide and 120 pixels high. Apart from that, there are no checks on things like file extensions. This can be abused by appending a PHP webshell to the end of the image and changing the extension to anything the PHP web server will parse. This vulnerability is fixed in 1.5.10.41.
- How severe is CVE-2024-40645?
- CVE-2024-40645 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-40645 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-40645?
- CVE-2024-40645 affects Fogproject. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-40645?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-40645 have an EU (EUVD) identifier?
- Yes. CVE-2024-40645 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-38555.
- When was CVE-2024-40645 published?
- CVE-2024-40645 was published on 2024-07-31 and last updated on 2026-06-17.
References
- https://github.com/FOGProject/fogproject/blob/a4bb1bf39ac53c3cbe623576915fbc3b5c80a00f/packages/web/lib/pages/fogconfigurationpage.class.php#L2860-L2896
- https://github.com/FOGProject/fogproject/commit/9469606a18bf8887740cceed6593a2e0380b5e0c
- https://github.com/FOGProject/fogproject/security/advisories/GHSA-59mq-q8g5-2f4f
Affected products (1)
- cpe:2.3:a:fogproject:fogproject:*:*:*:*:*:*:*:*
More vulnerabilities in Fogproject
- CVE-2024-39914 — Critical (CVSS 9.8): FOG is a cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.34,…
- CVE-2024-42348 — Critical (CVSS 9.3): FOG is a cloning/imaging/rescue suite/inventory management system. FOG Server 1.5.10.41.2 can leak AD username and…
- CVE-2025-58443 — Critical (CVSS 9.1): FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Versions 1.5.10.1673 and below…
- CVE-2021-32243 — High (CVSS 8.8): FOGProject v1.5.9 is affected by a File Upload RCE (Authenticated).
- CVE-2023-46236 — High (CVSS 8.6): FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Prior to version 1.5.10, a…
- CVE-2024-34477 — High (CVSS 7.8): configureNFS in lib/common/functions.sh in FOG through 1.5.10 allows local users to gain privileges by mounting a…
All CVEs affecting Fogproject →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-48283 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-48276 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Unrestricted Upload of File with Dangerous Type…
- CVE-2026-57700 — Critical (CVSS 10.0): Unrestricted Upload of File with Dangerous Type vulnerability in Daan.Dev OMGF Pro allows Using Malicious Files. This…
- CVE-2025-69129 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in WordPress & WooCommerce Scraper Plugin, Import Data from Any Site <= 1.0.7…
- CVE-2026-40772 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in GeekyBot <= 1.2.2 versions.
- CVE-2026-40412 — Critical (CVSS 10.0): Unrestricted upload of file with dangerous type in Azure Orbital Spatio allows an unauthorized attacker to execute code…
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →