CVE-2024-40645

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-40645
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40645.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-40645
Aliases
  • GHSA-59mq-q8g5-2f4f
Published
2024-07-31T18:57:50.347Z
Modified
2025-11-20T12:28:07.096196Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
FOG Authenticated File Upload RCE
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-434"
    ]
}
References

Affected packages

Git / github.com/fogproject/fogproject

Affected ranges

Type
GIT
Repo
https://github.com/fogproject/fogproject
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.3.0
1.3.1
1.3.2
1.3.3
1.3.4
1.3.5