Unauthenticated SSRF via unrestricted WMS style URLs
Published Oct 24, 2023 · Updated Sep 11, 2024
Server-side request forgery in GeoServer before 2.22.5 and 2.23.0 through 2.23.1 allows remote attackers to trigger outbound requests. The WMS GetMap, GetLegendGraphic, and GetFeatureInfo handlers fetch an untrusted sld URL without restricting its destination. Dynamic styling must be enabled while URL checks are disabled or permit file URLs, allowing NetNTLMv2 hash disclosure for relay or offline cracking.
Summary
What happened
Server-side request forgery in GeoServer before 2.22.5 and 2.23.0 through 2.23.1 allows remote attackers to trigger outbound requests. The WMS GetMap, GetLegendGraphic, and GetFeatureInfo handlers fetch an untrusted sld URL without restricting its destination. Dynamic styling must be enabled while URL checks are disabled or permit file URLs, allowing NetNTLMv2 hash disclosure for relay or offline cracking.
The record
- CVE
- CVE-2023-41339
- Published
- Oct 24, 2023
- Updated
- Sep 11, 2024
- Vendor
- GeoWebCache
- Product
- GeoServer
- Classifications
- CWE-918, T1187
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 24, 2023CVE publishedPublication date reported by the CVE source.
- Sep 11, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2.22.5
- Affected versionversion=0 <2.23.2
- Affected versionversion=< 2.22.5
- Affected versionversion=>= 2.23.0, < 2.23.2
What conditions does exploitation require?
What is affected?
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.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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