CVE-2024-7012CWE-287

Puppet-foreman: an authentication bypass vulnerability exists in foreman

Critical · published September 4, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
55.1
In the wild
Unconfirmed
What it is

🚨 An authentication bypass that’s as sneaky as a cat burglar! This flaw allows unauthorized access to all active Satellite deployments of Foreman due to a configuration quirk. 🔥 Think of it like a restaurant that trusts any reservation made over the phone without asking for a confirmation. If someone calls in with a clever twist on the name, they can waltz right into the VIP area! An attacker could potentially gain administrative access without needing to provide valid credentials, leading to catastrophic changes within the system. This could allow them to manipulate configurations, access sensitive data, and wreak havoc—making it absolutely devastating for your deployments!

Put simply

Think of it like a restaurant that trusts any reservation made over the phone without asking for a confirmation. If someone calls in with a clever twist on the name, they can waltz right into the VIP area! This vulnerability arises from Apache's mod_proxy not properly unsetting headers due to restrictions on underscores in HTTP headers, enabling authentication through a malformed header. It impacts Foreman versions 6.13, 6.14, and 6.15 when deployed with External Authentication.

What to do

An attacker could potentially gain administrative access without needing to provide valid credentials, leading to catastrophic changes within the system. This could allow them to manipulate configurations, access sensitive data, and wreak havoc—making it absolutely devastating for your deployments! Mitigate this risk by patching to version 6.16 of Foreman immediately. Additionally, review your Apache configuration to ensure headers are properly managed. Don't forget to audit access controls to ensure unauthorized users are locked out! This is fixable! Follow these steps, and you’ll be able to safeguard your deployments in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00769 · 55.1th percentile
Weakness
CWE-287 · Improper Authentication
Published
2024-09-04T13:41Z
EPSS history
Timeline
  • 04 SEP 13:41Z
    Puppet-foreman: an authentication bypass vulnerability exists in foreman
    cvelistv5