CVE-2024-40645
published high CVSS 3.1 · 8.8FOG Authenticated File Upload RCE
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FOGProject | fogproject | < 1.5.10.41 (affected) | GitHub_M · cna |
| fogproject | fogproject | 0 to < 1.5.10.41 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
3- 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
Provider assertions
2GitHub_M · cna
FOG Authenticated File Upload RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ed5dc38ce6758fab6b1ee8f944085a32211bfa008585b5a952cb58f032e9347
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record