CVE-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…

published June 12, 2023

CVSS
—
EPSS
45%
Percentile
98.8
In the wild
Unconfirmed
What it is

🚨 A crafty remote code execution vulnerability lurks in GeoServer 2, sneaking in through seemingly innocent requests! ⚠️ Think of it like a restaurant kitchen where the chef trusts any random order ticket without checking it—one wrong order could lead to a disastrous meal served to all the diners! An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially gaining control and wreaking havoc on your data and services. This can lead to unauthorized access, data corruption, or even a full system compromise, turning your secure application into a playground for malicious actors.

Put simply

Think of it like a restaurant kitchen where the chef trusts any random order ticket without checking it—one wrong order could lead to a disastrous meal served to all the diners! This vulnerability exists due to the use of `java.lang.Runtime.getRuntime().exec()` within `wps:LiteralData` in `wps:Execute` requests, allowing attackers to run arbitrary commands on the server if configured improperly.

What to do

An attacker could exploit this vulnerability to execute arbitrary code on the server, potentially gaining control and wreaking havoc on your data and services. This can lead to unauthorized access, data corruption, or even a full system compromise, turning your secure application into a playground for malicious actors. To protect yourself, ensure that you're running a secure configuration of GeoServer, and review the request handling for any use of `Runtime.exec()`. Regularly update to the latest version and monitor for patches or updates regarding this vulnerability. You've got this! Stay vigilant and implement these steps to help safeguard your server! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.44825 · 98.8th percentile
Published
2023-06-12T00:00Z
EPSS history
Timeline
  • 12 JUN 00:00Z
    GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a…
    cvelistv5