GeoNetwork vulnerable to Remote Code Execution via unsafe Saxon XSLT processor configuration in formatter
Patch now:no fixed version in the CVE record or package advisories. Check the vendor advisory. References ↓
geonetwork · core-geonetwork
The flaw lies in the Saxon XSLT processor that GeoNetwork uses to render formatters in its core-geonetwork product: it runs without secure processing and without disabling Java extension functions. An attacker who holds high privileges (sufficient rights to upload a formatter) and can network-reach the application can deliver a crafted .xsl file containing a Java extension call, which runs arbitrary operating system commands with the privileges of the GeoNetwork process, with no user interaction required.
Official description · CVE.org
GeoNetwork is a catalog application to manage spatially referenced resources. Prior to versions 4.4.12 and 4.2.17, the Saxon XSLT processor used to render formatters is configured without secure processing (`FEATURE_SECURE_PROCESSING`) and without disabling Java extension functions (`ALLOW_EXTERNAL_FUNCTIONS`). Any stylesheet loaded by GeoNetwork can therefore invoke `java.lang.Runtime.exec()` or `java.lang.ProcessBuilder` directly, achieving arbitrary command execution as the GeoNetwork process user. A user with sufficient privileges to upload a formatter can deliver a `.xsl` file containing Java extension call that execute arbitrary OS commands with the privileges of the GeoNetwork process. The issue is patched in GeoNetwork versions 4.4.12 and 4.2.17.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Confirmed exploited 1 day before it was disclosed.
- EU database marks exploited1 day before
Affected versions and fixes
as published in the CVE recordgeonetwork core-geonetwork
Affected: >= 4.3.0, < 4.4.12 · < 4.2.17
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.