Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 970 Bytes

graphql-misconfiguration.md

File metadata and controls

30 lines (22 loc) · 970 Bytes
name severity cvss-score cvss-vector cwe-id cwe-name compliance
GraphQL Misconfiguration
low
5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE-200
Information Exposure
HIPAA ISO 27001 owasp10 PCI v4.0
164.306(a)
A.8.9
A5
pci4-6.2.4

The application server is leaking information about its schema or system internals.

Attackers can exploit this weakness by submitting invalid queries to the GraphQL application, which, if misconfigured, will provide suggestions for potential query fixes. This unintentional behavior leaks valuable schema information.

Additionally, if the application returns a stack trace when an error occurs it can leak information about the code and the server.

How to fix

{% tabs graphql-misconfiguration %} {% tab graphql-misconfiguration generic %} To mitigate this issue you should disable GraphQL fix suggestions and stack traces on your server configuration. {% endtab %}

{% endtabs %}