CVE-2022-24846 Unchecked JNDI lookups in GeoWebCache

Critical 9.1 Published Updated

Attackers with admin access can trigger unchecked JNDI lookups leading to arbitrary code execution via deserialization in GeoWebCache.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-24846?

CVE-2022-24846 is a critical unsafe deserialization vulnerability in geowebcache, published on 14 Apr 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-502, CWE-20

Which versions are affected by CVE-2022-24846?

It affects 1 product.

Products include Geoserver Geowebcache.

How do I fix CVE-2022-24846?

No fix has been published for CVE-2022-24846 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-24846 being exploited?

There is no known exploitation of CVE-2022-24846 in the wild and no public exploit code.

Sources

Also known as GHSA-4v22-v8jp-438r.

Is CVE-2022-24846 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free