# CVE-2024-40645: FOG Authenticated File Upload RCE

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-31T18:57:50.347Z
- Modified: 2026-06-17T07:46:13.940Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- FOGProject fogproject: < 1.5.10.41; before 1.5.10.41; from 1.5.10 up to 1.5.10.41

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FOGProject/fogproject/security/advisories/GHSA-59mq-q8g5-2f4f> (exploit)
- <https://github.com/FOGProject/fogproject/commit/9469606a18bf8887740cceed6593a2e0380b5e0c> (patch)
- <https://github.com/FOGProject/fogproject/blob/a4bb1bf39ac53c3cbe623576915fbc3b5c80a00f/packages/web/lib/pages/fogconfigurationpage.class.php#L2860-L2896> (product)

## Sources

- CVE List: [CVE-2024-40645](https://www.cve.org/CVERecord?id=CVE-2024-40645), CVE Terms of Use, modified 2024-07-31
- NVD: [CVE-2024-40645](https://nvd.nist.gov/vuln/detail/CVE-2024-40645), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-40645 · Whole record: https://cve.day/CVE-2024-40645.json · Rebuilt by cve.day 2026-11-25T22:58:43.483Z
