PT-2024-38030 · Apache · Mod Proxy
Avinash Hanwate
·
Published
2024-09-04
·
Updated
2025-10-09
·
CVE-2024-7012
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Foreman versions 6.13 through 6.15
Foreman with Gunicorn versions prior to 22.0
Description
An authentication bypass issue 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. The flaw impacts all active Satellite deployments and could potentially enable unauthorized users to gain administrative access. Over 4,000 results are found on ZoomEye, indicating a significant number of potentially affected devices.
Recommendations
For Foreman versions 6.13 through 6.15, update to a version that includes the fix for this issue.
For Foreman with Gunicorn versions prior to 22.0, update Gunicorn to version 22.0 or later.
As a temporary workaround, consider restricting access to the
puppet-foreman configuration to minimize the risk of exploitation.
Restrict access to the vulnerable mod proxy module to minimize the risk of exploitation.
Avoid using malformed headers in the affected API endpoints until the issue is resolved.Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mod Proxy