Cyber Risks · PortSwigger Research

GraphQL endpoint discovered

Summary: PortSwigger Research notes that GraphQL servers, unlike REST APIs, operate on a single endpoint where the message body determines how the server handles each request. A publicly available endpoint is not a vulnerability by itself, but any attack on the GraphQL server will use that discovered endpoint, and an introspection query against it could reveal the entire schema if successful.

What's compelling: A successful introspection query can expose the full GraphQL schema, including field descriptions and the operations available in your API, which is why PortSwigger advises disabling introspection in production and restricting the endpoint to POST to avoid exposing it to CSRF.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related