4.8
MEDIUM
CVE-2024-23642
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.4 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 SVG Output Format when the Simple SVG renderer is enabled. Access to the WMS SVG Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a fix 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-23642 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-23642 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-23642 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23642 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.4 *cpe:2.3:a:geoserver:geoserver:2.24.0:-:*:*:*:*:*:*
    Changed Reference Type https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 No Types Assigned https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 No Types Assigned https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe No Types Assigned https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe Patch
    Changed Reference Type https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe No Types Assigned https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe Patch
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7173 No Types Assigned https://github.com/geoserver/geoserver/pull/7173 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7173 No Types Assigned https://github.com/geoserver/geoserver/pull/7173 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 Vendor Advisory
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 Vendor Advisory
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11152 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11152 Issue Tracking
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11152 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11152 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/1b1835afbb9c282d1840786259aeda81c1d22b00
    Added Reference https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe
    Added Reference https://github.com/geoserver/geoserver/pull/7173
    Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11152
  • 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.4 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 SVG Output Format when the Simple SVG renderer is enabled. Access to the WMS SVG Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a fix for this issue.
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/pull/7173 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe [No types assigned]
    Added Reference GitHub, Inc. https://osgeo-org.atlassian.net/browse/GEOS-11152 [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-23642 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-23642 weaknesses.

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