4.8
MEDIUM
CVE-2024-23640
GeoServer Stored Cross-Site Scripting (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.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user's browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.0 contain a fix for this issue.

INFO

Published Date :

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

Last Modified :

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

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

1.7
Public PoC/Exploit Available at Github

CVE-2024-23640 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-23640 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-23640 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23640 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
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7162 No Types Assigned https://github.com/geoserver/geoserver/pull/7162 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7162 No Types Assigned https://github.com/geoserver/geoserver/pull/7162 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7181 No Types Assigned https://github.com/geoserver/geoserver/pull/7181 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/pull/7181 No Types Assigned https://github.com/geoserver/geoserver/pull/7181 Issue Tracking
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf Vendor Advisory
    Changed Reference Type https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf No Types Assigned https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf Vendor Advisory
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11149 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11149 Issue Tracking
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11149 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11149 Issue Tracking
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11155 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11155 Issue Tracking
    Changed Reference Type https://osgeo-org.atlassian.net/browse/GEOS-11155 No Types Assigned https://osgeo-org.atlassian.net/browse/GEOS-11155 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/pull/7162
    Added Reference https://github.com/geoserver/geoserver/pull/7181
    Added Reference https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11149
    Added Reference https://osgeo-org.atlassian.net/browse/GEOS-11155
  • 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.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user's browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.0 contain a fix for this issue.
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/pull/7162 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/geoserver/geoserver/pull/7181 [No types assigned]
    Added Reference GitHub, Inc. https://osgeo-org.atlassian.net/browse/GEOS-11149 [No types assigned]
    Added Reference GitHub, Inc. https://osgeo-org.atlassian.net/browse/GEOS-11155 [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-23640 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-23640 weaknesses.

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