CVE-2023-35042
published 2023-06-12CVE-2023-35042: GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a…
PriorityP185critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWVulnCheck KEV
Exploited in the wild
EPSS
43.23%
98.6th percentile
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as exploited in the wild in June 2023. NOTE: the vendor states that they are unable to reproduce this in any version.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| geoserver | geoserver | >= 2.0.0 | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ghsa10.0CRITICAL
osv10.0CRITICAL
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
osv·2023-06-12·CVSS 10.0
CVE-2023-35042 [CRITICAL] GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via `java.lang.Runtime.getRuntime().exec` in `wps:LiteralData` within a `wps:Execute` request, as exploited in the wild in June 2023.
## RCE in Jiffle
The Jiffle map algebra language, provided by jai-ext, allows efficiently execute map algebra over large images. A vulnerability [CVE-2022-24816](https://nvd.nist.gov/vuln/detail/CVE-2022-24816) has been recently found in Jiffle, that allows a Code Injection to be performed by properly crafting a Jiffle invocation.
In the case of GeoServer, the injection can be performed from a remote request.
## Assessment
GeoTools includes the Jiffle language as part
GHSA
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
ghsa·2023-06-12·CVSS 10.0
CVE-2023-35042 [CRITICAL] GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via `java.lang.Runtime.getRuntime().exec` in `wps:LiteralData` within a `wps:Execute` request, as exploited in the wild in June 2023.
## RCE in Jiffle
The Jiffle map algebra language, provided by jai-ext, allows efficiently execute map algebra over large images. A vulnerability [CVE-2022-24816](https://nvd.nist.gov/vuln/detail/CVE-2022-24816) has been recently found in Jiffle, that allows a Code Injection to be performed by properly crafting a Jiffle invocation.
In the case of GeoServer, the injection can be performed from a remote request.
## Assessment
GeoTools includes the Jiffle language as part
VulnCheck
GeoServer 2 wps:Execute Request wps:LiteralData Remote Code Execution
vulncheck·2023·CVSS 9.8
CVE-2023-35042 [CRITICAL] GeoServer 2 wps:Execute Request wps:LiteralData Remote Code Execution
GeoServer 2 wps:Execute Request wps:LiteralData Remote Code Execution
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request, as exploited in the wild in June 2023. NOTE: the vendor states that they are unable to reproduce this in any version.
Affected: OSGeo GeoServer
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://nvd.nist.gov/vuln/detail/CVE-2023-35042; https://www.cve.org/CVERecord?id=CVE-2023-35042; https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-06-12
Published
Exploited in the wild