CVE-2024-6861: Foreman: foreman: oauth secret exposure via unauthenticated access to the graphql api

Published Oct 9, 2024
·
Updated

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.

Other sources

A flaw was found in foreman before version 3.3. The server exposes a GraphQL API with limited access. If introspection is enabled (usually by default), it allow attackers to query a settings type without any authentication and retrieve the product settings, including the OAuth consumerkey and OAuth consumersecret properties. These elements can be used to authenticate as foremanapiadmin and gain full control of the product's REST API.

Red Hat

Affected Software

1 affected component
Foreman Foreman<3.3

Event History

Oct 9, 2024
Data Sourced
via Red Hat·12:42 AM
DescriptionSeverityAffected Software
Nov 6, 2024
CVE Published
via MITRE·02:54 PM
Data Sourced
via MITRE·02:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-6861?

CVE-2024-6861 is classified as a high severity vulnerability due to the exposure of sensitive admin authentication keys.

2

How do I fix CVE-2024-6861?

To fix CVE-2024-6861, disable the GraphQL API introspection feature if it is enabled.

3

What kind of information is leaked by CVE-2024-6861?

CVE-2024-6861 can lead to the disclosure of sensitive admin authentication keys.

4

Which versions of Foreman are affected by CVE-2024-6861?

CVE-2024-6861 affects versions of Foreman up to, but not including, 3.3.

5

What are the potential consequences of CVE-2024-6861?

The potential consequences of CVE-2024-6861 include a complete compromise of the product's API.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203