CVE-2024-39914 in fogprojectinfo

Summary

by MITRE • 07/12/2024

FOG is a cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.34, packages/web/lib/fog/reportmaker.class.php in FOG was affected by a command injection via the filename parameter to /fog/management/export.php. This vulnerability is fixed in 1.5.10.34.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 09/29/2025

The FOG (Free Open-source Ghost) system represents a comprehensive suite designed for cloning imaging rescue operations and inventory management within enterprise environments. This web-based platform facilitates network-wide deployment of operating systems and system recovery operations through centralized management capabilities. The system's architecture includes various components such as web interfaces, database connections, and automated deployment mechanisms that collectively support large-scale IT infrastructure management. Security vulnerabilities within such systems pose significant risks to organizational networks, particularly when they affect core operational functions that handle system imaging and deployment processes.

The vulnerability identified in CVE-2024-39914 specifically targets the reportmaker.class.php component within the FOG web library, which processes filename parameters through the export.php management endpoint. This command injection flaw occurs when user-supplied input from the filename parameter is directly incorporated into system commands without proper sanitization or validation. The vulnerability represents a classic command injection attack vector where malicious input can be executed as system commands with the privileges of the web application service account. The flaw exists in versions prior to 1.5.10.34, indicating that the developers identified and remediated this specific security gap in their patch release.

From an operational impact perspective, this vulnerability creates severe risks for organizations utilizing FOG for system imaging and deployment tasks. An attacker who successfully exploits this command injection could execute arbitrary system commands on the FOG server, potentially gaining access to sensitive system information, modifying deployment configurations, or even establishing persistent access to the underlying infrastructure. The attack surface extends beyond simple data exfiltration to include complete system compromise, especially since FOG servers often operate with elevated privileges necessary for system deployment operations. This vulnerability aligns with CWE-77 and CWE-88 categories, representing command injection flaws that can be exploited through improper input validation in web applications.

The remediation implemented in FOG version 1.5.10.34 addresses this vulnerability through proper input sanitization and validation mechanisms that prevent malicious command sequences from being executed. Organizations should prioritize immediate patching of all FOG installations to protect against potential exploitation of this command injection vulnerability. Security teams should also implement monitoring for suspicious activities related to export operations and validate that all user inputs are properly escaped or filtered before being processed by system commands. This vulnerability demonstrates the critical importance of input validation in web applications and aligns with ATT&CK technique T1059.001 for command and scripting interpreter, highlighting how improper input handling can enable arbitrary code execution. The incident underscores the necessity of maintaining current software versions and implementing comprehensive security testing practices for infrastructure management systems that handle sensitive deployment operations.

Responsible

GitHub M

Reservation

07/02/2024

Disclosure

07/12/2024

Moderation

accepted

CPE

ready

EPSS

0.23237

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!