CVE-2022-24846 Unchecked JNDI lookups in GeoWebCache
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
GeoWebCache is a tile caching server implemented in Java. The GeoWebCache disk quota mechanism can perform an unchecked JNDI lookup, which in turn can be used to perform class deserialization and result in arbitrary code execution. While in GeoWebCache the JNDI strings are provided via local configuration file, in GeoServer a user interface is provided to perform the same, that can be accessed remotely, and requires admin-level login to be used. These lookup are unrestricted in scope and can lead to code execution. The lookups are going to be restricted in GeoWebCache 1.21.0, 1.20.2, 1.19.3.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| geoserver GeoWebCache | < 1.19.3; >= 1.20.0, < 1.20.2 | 1.19.3, 1.20.2 | Fixed |
| geowebcache | = < 1.19.3; = >= 1.20.0, < 1.20.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| geowebcache | = >= 1.20.0, < 1.20.2 | No fix listed |
| geowebcache | = < 1.19.3 | No fix listed |
| geoserver GeoWebCache | < 1.19.3 | 1.19.3 |
| geoserver GeoWebCache | >= 1.20.0, < 1.20.2 | 1.20.2 |
References
- github.com third-party-advisory