High severity · published Jul 31, 2024
CVE-2024-40645
FOG is a cloning/imaging/rescue suite/inventory management system
8.8
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FO
Fogproject · Fogproject
1.5.10 through 1.5.10.41 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-40645
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-40645
Product
https://github.com/FOGProject/fogproject/blob/a4bb1bf39ac53c3cbe623576915fbc3b5c80a00f/packages/web/lib/pages/fogconfigurationpage.class.php#L2860-L2896
Patch
https://github.com/FOGProject/fogproject/commit/9469606a18bf8887740cceed6593a2e0380b5e0c
Exploit
https://github.com/FOGProject/fogproject/security/advisories/GHSA-59mq-q8g5-2f4f
More from Fogproject
9.8
CVE-2024-39914
FOG is a cloning/imaging/rescue suite/inventory management system
9.1
CVE-2025-58443
FOG's authentication bypass leads to full SQL DB dump
8.8
CVE-2026-116778
FOG: Authenticated low-privileged API user can modify Storage Nodes and reach root command execution
8.8
CVE-2021-32243
FOGProject v1.5.9 is affected by a File Upload RCE (Authenticated)
8.7
CVE-2026-47687
FOGProject has stored XSS via unescaped option label in selectForm() accessible from unauthenticated inventory endpoint
