Skip to content
Heist/ feed
Back to feed
Critical

Puppet-foreman: an authentication bypass vulnerability exists in foreman

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-7012
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:13 UTC · Revision 1

Source evidence

Puppet-foreman: an authentication bypass vulnerability exists in foreman

core-osv · Original source

Published 4 Sept 2024, 13:41 UTC

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.

osv:CVE-2024-7012
Complete source record
{
  "id": "629d5f3feee6a356a16c5386d0f58b5cf55156889b9bc5c3c8e53770cac40616",
  "url": "https://osv.dev/vulnerability/CVE-2024-7012",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Puppet-foreman: an authentication bypass vulnerability exists in foreman",
    "summary": "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.",
    "evidence": "osv:CVE-2024-7012",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-7012",
      "aliases": [
        "CVE-2024-7012"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/theforeman/puppet-foreman",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "56404b20402960ff32ec983ce06c7c67517e2ce1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "22.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "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/cve-osv-conversion/osv-output/CVE-2024-7012.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.096173125Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "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://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7012.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-7012",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2299429",
        "https://github.com/theforeman/puppet-foreman"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1:3.5.2.8-1.el8sat"
                  },
                  {
                    "fixed": "1:3.5.2.8-1.el8sat"
                  },
                  {
                    "fixed": "1:3.7.0.8-1.el8sat"
                  },
                  {
                    "fixed": "1:3.7.0.8-1.el8sat"
                  },
                  {
                    "fixed": "1:3.9.3.4-1.el8sat"
                  },
                  {
                    "fixed": "1:3.9.3.4-1.el8sat"
                  },
                  {
                    "fixed": "1:3.12.0.1-1.el8sat"
                  },
                  {
                    "fixed": "1:3.12.0.1-1.el8sat"
                  },
                  {
                    "fixed": "1:3.12.0.1-1.el9sat"
                  },
                  {
                    "fixed": "1:3.12.0.1-1.el9sat"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "InverseAffectedRanges"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7012.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-7012",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499947,
  "published_at": "2024-09-04T13:41:17.877+00:00"
}