nl-portal-backend-libraries: NL Portal Backend Libraries: Unauthenticated form resolver forwards the privileged Objecten-API token to a caller-supplied URL (SSRF)
What fixes it
- 3.0.4nl.nl-portal:form, MavenOSV
<dependency><groupId>nl.nl-portal</groupId><artifactId>form</artifactId><version>3.0.4</version></dependency>
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
NL Portal Backend Libraries provide backend components for Dutch government portals that interact with residents, customers, suppliers, and partner organizations. From 1.1.0 until 3.0.4, and in 3.1.0, the public getFormDefinitionByObjectenApiUrl and deprecated getFormDefinitionById GraphQL resolvers are reachable without CommonGroundAuthentication and forward a caller-influenced URL through ObjectenApiService.getObjectByUrl to ObjectsApiClient.getObjectByUrl, which attaches the privileged Objecten-API token. The host-equality check restricts requests to the configured Objecten-API host but does not constrain the scheme, port, or path, allowing an unauthenticated caller to induce a token-bearing request to a chosen endpoint on that host. Standard deployments are not exposed to cross-host SSRF, token capture requires attacker-controlled routing on the configured host, and typed deserialization limits returned data to objects shaped like form definitions. The 3.0 release line is fixed in version 3.0.4. The advisory does not identify a fixed 3.1 release.
Text from CVE List
Affected versions 16
- nl-portal-backend-librariesaffected: >= 1.1.0, < 3.0.4CVE List
- nl-portal-backend-librariesaffected: = 3.1.0CVE List
- nl.nl-portal:form, Mavenfrom 1.1.0, fixed in 3.0.4OSV
- nl.nl-portal:form, Maven1.3.0OSV
- nl.nl-portal:form, Maven1.3.1OSV
- nl.nl-portal:form, Maven1.5.0OSV
- nl.nl-portal:form, Maven1.5.1OSV
- nl.nl-portal:form, Maven1.6.0OSV
- nl.nl-portal:form, Maven1.6.1OSV
- nl.nl-portal:form, Maven2.0.0OSV
- nl.nl-portal:form, Maven2.0.1OSV
- nl.nl-portal:form, Maven2.0.2OSV
- nl.nl-portal:form, Maven3.0.0OSV
- nl.nl-portal:form, Maven3.0.1OSV
- nl.nl-portal:form, Maven3.0.2OSV
- nl.nl-portal:form, Maven3.0.3OSV
References 4
- github.com/nl-portal/nl-portal-backend-libraries/commit/5ea04ef6445443e22e40a23fbed447e618b70c3fFixvia CVE List
- github.com/nl-portal/nl-portal-backend-libraries/releases/tag/3.0.4.RELEASEFixvia CVE List
- github.com/nl-portal/nl-portal-backend-libraries/security/advisories/GHSA-xm3x-9cfw-jhx4Exploitvia CVE List
- github.com/nl-portal/nl-portal-backend-libraries/pull/700Referencevia CVE List