{"id":"CVE-2024-7012","summary":"Puppet-foreman: an authentication bypass vulnerability exists in foreman","details":"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.","modified":"2026-08-12T03:30:28.985461507Z","published":"2024-09-04T13:41:17.877Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7012.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6335"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6336"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:6337"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2024:8906"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-7012"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7012.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7012"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2299429"},{"type":"PACKAGE","url":"https://github.com/theforeman/puppet-foreman"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/theforeman/puppet-foreman","events":[{"introduced":"0"},{"fixed":"56404b20402960ff32ec983ce06c7c67517e2ce1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"22.0"}],"source":"AFFECTED_FIELD"}}],"versions":["21.1.0","21.0.0","20.1.0","20.0.0","19.2.1","19.3.0","19.2.0","19.1.1","19.1.0","19.0.0","17.0.0","18.2.0","18.1.0","18.0.0","16.1.0","15.1.1","16.0.0","15.1.0","15.0.0","14.0.0","13.1.0","13.0.1","13.0.0","10.0.0","12.2.0","12.1.0","12.0.0","11.0.0","9.2.0","9.1.0","9.0.1","9.0.0","8.1.0","8.0.0","7.2.0","7.1.0","7.0.0","6.0.0","5.2.0","5.1.0","5.0.1","5.0.0","4.0.1","4.0.0","3.0.0","2.3.0","2.2.3","2.2.2","2.2.1","2.2.0","2.1.2","2.1.1","2.1.0","2.0.1","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-7012.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}