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 consumer_key and OAuth consumer_secret properties. These elements can be used to authenticate as foreman_api_admin and gain full control of the product's REST API.