Description
GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SSRF via the option for setting a proxy host.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
phor3nsic/CVE-2021-40822 ★ 2 · May 17, 2022
PoC and Dockerized vulnerable lab for CVE-2021-40822 (SSRF in GeoServer)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Geoserver - Server-Side Request Forgery http/cves/2021/CVE-2021-40822.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.geoserver:gs-main | <= 2.18.5 | — | GHSA-rr33-j5p5-ppf8 |
| Maven | org.geoserver:gs-main | >= 2.19.0, <= 2.19.2 | — | GHSA-rr33-j5p5-ppf8 |