Vulnerability · Published Sep 4, 2024 · Assigned by redhat
CVE-2024-7012Puppet-foreman: an authentication bypass vulnerability exists in foreman
Critical 9.8
In plain English
A critical-severity improper authentication in puppet-foreman. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).
Official description
An authentication bypass vulnerability has been identified in Foreman when deployed with External Authentication, due to the puppet-foreman configuration. This issue arises from Apache's mod_proxy not properly unsetting headers because of restrictions on underscores in HTTP headers, allowing authentication through a malformed header. This flaw impacts all active Satellite deployments (6.13, 6.14 and 6.15) and could potentially enable unauthorized users to gain administrative access.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| puppet-foreman | 0 – before 22.0 | |
| Red Hat | Red Hat Satellite 6.13 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.13 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.15 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.15 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | see references |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2024:6335 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6336 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:6337 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:8906 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-7012 vdb-entry, x_refsource_REDHAT
- RHBZ#2299429 issue-tracking, x_refsource_REDHAT