CVE-2022-24847 Improper Input Validation in GeoServer
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Network Appliances
Description
GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. The same can happen while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism. In order to perform any of the above changes, the attack needs to have obtained admin rights and use either the GeoServer GUI, or its REST API. The lookups are going to be restricted in GeoServer 2.21.0, 2.20.4, 1.19.6. Users unable to upgrade should restrict access to the geoserver/web and geoserver/rest via a firewall and ensure that the GeoWebCache is not remotely accessible.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.geoserver/gs-main(Maven) | < 2.19.6; >= 2.20.0, < 2.20.4 | 2.19.6, 2.20.4 | Fixed |
| osgeo geoserver | < 2.19.6; >= 2.20.0, < 2.20.4 | 2.19.6, 2.20.4 | Fixed |
| geoserver | = < 2.19.6; = >= 2.20.0, < 2.20.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.geoserver/gs-main(Maven) | >= 2.20.0, < 2.20.4 | 2.20.4 |
| org.geoserver/gs-main(Maven) | < 2.19.6 | 2.19.6 |
| geoserver | = >= 2.20.0, < 2.20.4 | No fix listed |
| geoserver | = < 2.19.6 | No fix listed |
| osgeo geoserver | < 2.19.6 | 2.19.6 |
| osgeo geoserver | >= 2.20.0, < 2.20.4 | 2.20.4 |
References
- github.com mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com product