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.
Remediation
References
https://github.com/GeoWebCache/geowebcache/security/advisories/GHSA-4v22-v8jp-438r
Related Vulnerabilities
CVE-2019-16769 Vulnerability in npm package serialize-javascript
CVE-2020-35211 Vulnerability in maven package io.atomix:atomix
CVE-2021-32827 Vulnerability in maven package org.mock-server:mockserver-core
CVE-2016-10680 Vulnerability in npm package adamvr-geoip-lite
CVE-2021-26540 Vulnerability in maven package org.webjars.npm:sanitize-html