Remote command execution via crafted Jiffle script
Published Jun 12, 2023 · Updated Nov 27, 2024
Code injection in GeoServer before 2.18.6, 2.19.0 through 2.19.5, and 2.20.0 through 2.20.3 allows remote attackers to execute commands. The WPS Execute path accepts a crafted ras:Jiffle script in wps:LiteralData, generates Java code from it, and uses Janino to compile executable bytecode that reaches Runtime.exec. The WPS/Jiffle path must be remotely exposed; GeoServer identifies this as previously patched CVE-2022-24816 behavior and documents this CVE as disputed.
Summary
What happened
Code injection in GeoServer before 2.18.6, 2.19.0 through 2.19.5, and 2.20.0 through 2.20.3 allows remote attackers to execute commands. The WPS Execute path accepts a crafted ras:Jiffle script in wps:LiteralData, generates Java code from it, and uses Janino to compile executable bytecode that reaches Runtime.exec. The WPS/Jiffle path must be remotely exposed; GeoServer identifies this as previously patched CVE-2022-24816 behavior and documents this CVE as disputed.
The record
- CVE
- CVE-2023-35042
- Published
- Jun 12, 2023
- Updated
- Nov 27, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- T1059
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 9, 2023Exploitation reportedGeoServer WPS cryptominer requests observed by SANS ISC
- Jun 12, 2023CVE publishedPublication date reported by the CVE source.
- Nov 27, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Captured GeoServer WPS Jiffle requestfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo