OSGeo GeoServer RCE (CVE-2024-36401)

critical Nessus Plugin ID 204972

Synopsis

The version of OSGEo GeoServer installed on the remote host is affected by a remote code execution vulnerability.

Description

The version of OSGeo GeoServer installed on the remote host is affected by a remote code executionvulnerability, as follows:

- Multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions. The GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

See vendor advisory.

See Also

http://www.nessus.org/u?65847187

Plugin Details

Severity: Critical

ID: 204972

File Name: osgeo_geoserver_cve-2024-36401.nasl

Version: 1.3

Type: combined

Family: CGI abuses

Published: 8/2/2024

Updated: 10/7/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.6

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-36401

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:geoserver:geoserver

Required KB Items: installed_sw/OSGeo GeoServer

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/1/2024

Vulnerability Publication Date: 7/1/2024

CISA Known Exploited Vulnerability Due Dates: 8/5/2024

Exploitable With

Metasploit (Geoserver unauthenticated Remote Code Execution)

Reference Information

CVE: CVE-2024-36401