CVE Explore

RCE in Geotools

CVE-2022-24818

CVSS v3
8.2 High
Public exploits
1 repository
EPSS
0.024 · 84.5th percentile
Published
2022-04-13

What to do

Fixed in
24.6
Affected
1 affected product

GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of data sources that can perform unchecked JNDI lookups, which in turn can be used to perform class deserialization and result in arbitrary code execution. Similar to the Log4J case, the vulnerability can be triggered if the JNDI names are user-provided, but requires admin-level login to be triggered. The lookups are now restricted in GeoTools 26.4, GeoTools 25.6, and GeoTools 24.6. Users unable to upgrade should ensure that any downstream application should not allow usage of remotely provided JNDI strings.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
High PR:H
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
High C:H
Integrity
High I:H
Availability
High A:H

EPSS exploit prediction

EPSS 0.024, 84.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Geotools — versions >= 26.0, < 26.4, >= 25.0, < 25.6, < 24.6

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • mbadanoiu/CVE-2022-24818 (last pushed 2024-04-01): CVE-2022-24818: Java Deserialization via Unchecked JNDI Lookups in GeoServer and GeoTools

Also mentioned in 1 other repository (nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References