CVE-2024-7012
puppet-foreman: An authentication bypass vulnerability exists in Foreman
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | puppet-foreman | no fix listed |
| seal Red Hat 7 | python-jinja2, seal-python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 8 | libsolv, seal-libsolv | 0.7.20-6.el8+sp999 |
Show all 5 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| Red Hat | puppet-foreman | no fix listed |
| seal Red Hat 7 | python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 7 | seal-python-jinja2 | 2.7.2-4.el7+sp999 |
| seal Red Hat 8 | libsolv | 0.7.20-6.el8+sp999 |
| seal Red Hat 8 | seal-libsolv | 0.7.20-6.el8+sp999 |
References
- https://access.redhat.com/errata/RHSA-2024:6335
- https://access.redhat.com/errata/RHSA-2024:6336
- https://access.redhat.com/errata/RHSA-2024:6337
- https://access.redhat.com/errata/RHSA-2024:8906
- https://access.redhat.com/security/cve/CVE-2024-7012
- https://bugzilla.redhat.com/show_bug.cgi?id=2299429
- https://nvd.nist.gov/vuln/detail/CVE-2024-7012
- https://www.cve.org/CVERecord?id=CVE-2024-7012