Command Injection in Foreman Smart-Proxy tftp/fetch_boot_file
A command injection vulnerability exists in the Smart-Proxy component of Foreman before version 1.4.5 and 1.5.x before 1.5.1. The vulnerability is due to improper sanitization of the 'path' parameter in the tftp/fetch_boot_file endpoint, allowing remote attackers to inject shell metacharacters and execute arbitrary commands on the server.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary commands with the privileges of the Smart-Proxy process, potentially leading to full system compromise.
If you can’t patch tonight, do this now.
Restrict network access to the Smart-Proxy service to trusted hosts only. Employ input validation and sanitization on all user-supplied parameters, especially those passed to system shell commands.
Patch, then assume compromise.
Upgrade Foreman Smart-Proxy to version 1.4.5, 1.5.1, or later, where input validation and sanitization for the 'path' parameter have been properly implemented.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.