CVE-2024-6861Foreman: foreman: oauth secret exposure via unauthenticated access to the graphql api
A disclosure of sensitive information flaw was found in foreman via the GraphQL API. If the introspection feature is enabled, it is possible for attackers to retrieve sensitive admin authentication keys which could result in a compromise of the entire product's API.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- foreman: affected: before 3.3; fixed in
3.3 - Red Hat Satellite 6.12 for RHEL 8
- Red Hat Satellite 6
Workaround: To mitigate this issue the GraphQL introspection feature must be disabled or the GraphQL API be disabled entirely. Malicious requests can also be filtered using a reverse proxy or directly in the web server configuration.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2022:8506 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2022:8506
- https://access.redhat.com/security/cve/CVE-2024-6861
- https://bugzilla.redhat.com/show_bug.cgi?id=2317450
- https://docs.theforeman.org/3.3/Release_Notes/index-katello.html#_foreman_2
- https://projects.theforeman.org/issues/34328
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.