CVE-2023-0118CWE-78

Foreman: arbitrary code execution through templates

Critical · published September 20, 2023

CVSS v3.1
9.1
EPSS
1%
Percentile
71.9
In the wild
Unconfirmed
What it is

🔥 An admin user can bypass safe mode in Foreman templates and execute arbitrary code — talk about opening Pandora's box! Think of it like a hotel with a secret back door that only the staff knows about. If someone gets the key, they can bypass all the security measures and enter any room they choose, potentially wreaking havoc on the guests' belongings! This flaw could allow a malicious admin to run any code on the operating system, leading to absolute chaos — data theft, system manipulation, or even complete server takeover. The consequences could be catastrophic for your entire infrastructure!

Put simply

Think of it like a hotel with a secret back door that only the staff knows about. If someone gets the key, they can bypass all the security measures and enter any room they choose, potentially wreaking havoc on the guests' belongings! This vulnerability permits an admin user in Foreman to bypass the application's safe mode, enabling them to execute arbitrary code on the underlying operating system.

What to do

This flaw could allow a malicious admin to run any code on the operating system, leading to absolute chaos — data theft, system manipulation, or even complete server takeover. The consequences could be catastrophic for your entire infrastructure! Immediately patch Foreman to the latest version as updates are released. Review your user permissions and restrict admin access where possible to mitigate risk. Regularly audit your system for unusual activity as an extra precaution. You've got this! Tackle this vulnerability head-on, and your systems will be safer in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01382 · 71.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2023-09-20T13:39Z
EPSS history
Timeline
  • 20 SEP 13:39Z
    Foreman: arbitrary code execution through templates
    cvelistv5