High severity · published Jul 31, 2024
CVE-2024-40645
FOG Authenticated File Upload RCE
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 62% 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.41 · source: vendor, NVD, CISA
Affected product
FO
fogproject
FOGProject
More from fogproject
9.8
CVE-2024-39914
FOG has a command injection in /fog/management/export.php?filename=
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