Skip to content
OpenAdvisories
High · 8.2 Public exploit CVE-2022-24818 EUVD-2022-29614

Unchecked JNDI lookups in GeoTools

Published Apr 13, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
geotools geotools >= 26.0, < 26.4, >= 25.0, < 25.6, < 24.6 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • mbadanoiu/CVE-2022-24818 ★ 0 · Apr 1, 2024

    CVE-2022-24818: Java Deserialization via Unchecked JNDI Lookups in GeoServer and GeoTools

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References