GeoNetwork core-geonetwork
GeoNetwork: Reflected XSS through client-side template injection
GeoNetwork is a catalog application to manage spatially referenced resources. From 3.0.0 until 4.2.15 and 4.4.10, requesting a nonexistent or unauthorized service URL can cause an error page to reflect attacker-controlled request content inside an AngularJS application without adequately neutralizing it for template evaluation. A remote attacker can induce a victim, including an administrator, to open a crafted link so the reflected value is evaluated as an AngularJS template expression. Combined with known AngularJS sandbox-escape techniques, this can execute arbitrary JavaScript in the victim's authenticated browser session, disclose information, or perform actions as the victim. This issue is fixed in versions 4.2.15 and 4.4.10.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, <= 3.12.12
- >= 4.0.0-alpha.1, <= 4.0.6
- >= 4.2.0, < 4.2.15
- >= 4.4.0, < 4.4.10
Fixed in 4.2.15, 4.4.10
Mitigation
Upgrade core-geonetwork to 4.2.15 or 4.4.10 or later.
References
- Vendor advisory github.com/geonetwork/core-geonetwork/security…
- Patch github.com/geonetwork/core-geonetwork/commit/5…
- Patch github.com/geonetwork/core-geonetwork/commit/d…
2 more
- Release notes github.com/geonetwork/core-geonetwork/releases…
- Release notes github.com/geonetwork/core-geonetwork/releases…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.