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 Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.
Start learningUpgrade nl.nl-portal:documenten-api to version 3.0.3 or higher.
Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the getDocumentContent GraphQL query and the REST endpoint /api/documentapi/{documentapi}/document/{documentId}/content. An attacker can access sensitive document contents belonging to other users by making authenticated requests with valid document identifiers. This is only exploitable if the attacker is a logged-in user and knows or obtains the target document's identifier.
This vulnerability can be mitigated by blocking the path GET /api/documentapi/*/document/*/content and the getDocumentContent GraphQL query at your gateway or reverse proxy, and removing any client code that calls them.