In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Information Exposure vulnerabilities in an interactive lesson.
Start learningUpgrade apollo-router to version 1.61.13, 2.10.2, 2.12.1 or higher.
apollo-router is a configurable, high-performance routing runtime for Apollo Federation.
Affected versions of this package are vulnerable to Information Exposure in the processing of HTTP GET requests containing a Content-Type header with a value other than application/json. An attacker can infer sensitive information about server responses by issuing specially crafted cross-origin authenticated GraphQL queries and analyzing response times.
Note:
This is only exploitable if authentication relies on cookies or HTTP Basic Auth and the client browser is affected by a specific CORS implementation bug.
This vulnerability can be mitigated by blocking HTTP requests with a Content-Type header containing message/ at the load balancer or proxy, or by using a Rhai script within the router to reject such requests.