Threadlinqs IntelligenceStart free

VulnerabilityCVE-2023-25157Published 2023-02-21

CVE-2023-25157 — geoserver

criticalPublic exploit11 PoC reposNuclei template

As of 2025-03-10, CVE-2023-25157 is a CRITICAL-severity vulnerability in geoserver, CVSS v3.1 9.8, EPSS 85.2% (99.7th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2023-25157, most recently “Unpatched GeoServer Zero-Day SQL Injection (jsonArrayContains, GHSA-mqjf-5f49-2fjh) Under Active Exploitation”.

CVSS v3.1
9.8/10Critical
EPSS
85.2%Higher than 99.7% of scored CVEs
CISA KEV
NoNot in the KEV catalog
Tracked threats
1Campaigns referencing it
Priority
10/10Threadlinqs triage score
Published
Updated 2025-03-10
CVSS v3.1 9.8 (CRITICAL) · EPSS 85.2% (higher than 99.7% of all scored CVEs) · Priority 10/10 · Published 2023-02-21

Last updated:

What is CVE-2023-25157?

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. GeoServer includes support for the OGC Filter expression language and the OGC Common Query Language (CQL) as part of the Web Feature Service (WFS) and Web Map Service (WMS) protocols. CQL is also supported through the Web Coverage Service (WCS) protocol for ImageMosaic coverages. Users are advised to upgrade to either version 2.21.4, or version 2.22.2 to resolve this issue. Users unable to upgrade should disable the PostGIS Datastore *encode functions* setting to mitigate ``strEndsWith``, ``strStartsWith`` and ``PropertyIsLike `` misuse and enable the PostGIS DataStore *preparedStatements* setting to mitigate the ``FeatureId`` misuse.

The record classifies CVE-2023-25157 under weakness class CWE-89. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 1341 days ago.

Severity and exploitation probability

CVSS v3.1 base score
9.8 — CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (FIRST)
85.2% probability of exploitation in the next 30 days, higher than 99.7% of all scored CVEs
CISA KEV
Not listed in the CISA Known Exploited Vulnerabilities catalog
Threadlinqs priority
10/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
Published
2023-02-21, last modified 2025-03-10

Is CVE-2023-25157 being exploited?

Weaponised exploit code for CVE-2023-25157 is publicly available. 11 public proof-of-concept repositories are tracked for this identifier. A ProjectDiscovery Nuclei detection template exists (http/cves/2023/CVE-2023-25157.yaml). It currently carries a trending score of 40 in the Threadlinqs vulnerability feed.

Affected products and versions

  • geoserver: geoserver

Affected software packages:

  • maven:org.geoserver.community:gs-jdbcconfig — patched in 2.21.4
  • maven:org.geoserver.community:gs-jdbcconfig — patched in 2.22.2

How to fix CVE-2023-25157

The record marks a vendor fix as available for CVE-2023-25157. Fixed versions are recorded for 2 packages: maven:org.geoserver.community:gs-jdbcconfig 2.21.4, maven:org.geoserver.community:gs-jdbcconfig 2.22.2. Patch reference: https://github.com/geoserver/geoserver/commit/145a8af798590288d270b240235e89c8f0b62e1d. Vendor advisory: https://github.com/geoserver/geoserver/security/advisories/GHSA-7g5f-wrx8-5ccf. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.

Threat activity tracking CVE-2023-25157

1 tracked threat in the Threadlinqs corpus references CVE-2023-25157, either in the campaign’s CVE list or as an indicator on the campaign record.

Sources

Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories, ProjectDiscovery Nuclei. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.

Vendor advisory and patch

Other references