4.8
MEDIUM
CVE-2024-23818
GeoServer Stored XSS Vulnerability
Description

GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.3 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the WMS GetMap OpenLayers Output Format. Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.

INFO

Published Date :

March 20, 2024, 6:15 p.m.

Last Modified :

Dec. 17, 2024, 8:13 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

1.7
Public PoC/Exploit Available at Github

CVE-2024-23818 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-23818 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Geoserver geoserver
1 Osgeo geoserver

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Ini adalah repository kumpulan CVE v.5

allcve cve cvelist newcve

Updated: 4 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : March 24, 2024, 3:01 p.m. This repo has been linked 1214 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-23818 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23818 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Dec. 17, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* versions up to (excluding) 2.23.3 *cpe:2.3:a:geoserver:geoserver:2.24.0:-:*:*:*:*:*:*
    Changed Reference Type https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2 No Types Assigned https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2 Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2 No Types Assigned https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2 Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f No Types Assigned https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f No Types Assigned https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f Patch
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7174 No Types Assigned https://github.com/geoserver/geoserver/pull/7174 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7174 No Types Assigned https://github.com/geoserver/geoserver/pull/7174 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72 No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72 Vendor Advisory
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72 No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72 Vendor Advisory
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11153 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11153 Issue Tracking
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11153 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11153 Issue Tracking
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2
    Added Reference https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f
    Added Reference https://github.com/geoserver/geoserver/pull/7174
    Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11153
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Mar. 20, 2024

    Action Type Old Value New Value
    Added Description GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.3 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the WMS GetMap OpenLayers Output Format. Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/pull/7174 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f [No types assigned]
    Added Reference GitHub, Inc. https://osgeo-org.atlassian.net/browse/GEOS-11153 [No types assigned]
    Added CWE GitHub, Inc. CWE-79
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-23818 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-23818 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability