PT-2024-14127 · Geoserver · Geoserver
Thomsmith
+1
·
Published
2024-03-20
·
Updated
2024-12-18
·
CVE-2023-51445
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
GeoServer versions prior to 2.23.3 and 2.24.0
Description
A stored cross-site scripting (XSS) vulnerability exists that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources that will execute in the context of another administrator's browser when viewed in the "REST Resources API". Access to the "REST Resources API" is limited to full administrators by default and granting non-administrators access to this endpoint should be carefully considered as it may allow access to files containing sensitive information.
Recommendations
For GeoServer versions prior to 2.23.3, update to version 2.23.3 or later.
For GeoServer versions prior to 2.24.0, update to version 2.24.0 or later.
As a temporary workaround, consider restricting access to the "REST Resources API" to only full administrators and avoid granting non-administrators access to this endpoint.
Additionally, consider disabling the upload of style/legend resources until a patch is applied.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Geoserver