geonetwork/core-geonetwork · Security
GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint
- GHSA ID
- GHSA-2p76-gc46-5fvc
- Severity
- high
- Published
- Updated
- CVSS
- 8.2 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- CVSS v3
- 8.2 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Description
Impact
GeoNetwork WFS Index functionality is affected by GeoTools XML External Entity (XXE) vulnerability during schema validation.
This vulnerability is particularly severe as the REST API endpoint was not secured, potentially allowing unauthenticated attackers to read sensitive files
Patches
GeoNetwork 4.4.8 / 4.2.13.
Workarounds
Remove the gn-wfsfeature-harvester and gn-camelPeriodicProducer jars, disabling the WFS Index functionality.
References
CWEs
- CWE-611 · Improper Restriction of XML External Entity Reference
- CWE-918 · Server-Side Request Forgery (SSRF)
References
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc ↗
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw ↗
- https://github.com/geonetwork/core-geonetwork/pull/8757 ↗
- https://github.com/geonetwork/core-geonetwork/pull/8803 ↗
- https://github.com/geonetwork/core-geonetwork/pull/8812 ↗
- https://github.com/advisories/GHSA-2p76-gc46-5fvc ↗