GeoNode vulnerable to SSRF Bypass to return internal host data
GHSA-pxg5-h34r-7q8p · CVE-2023-42439 · PYSEC-2023-176
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
A SSRF vulnerability exists, bypassing existing controls on the software. This can allow a user to request internal services for a full read SSRF, returning any data from the internal network.
the application is using a whitelist, but the whitelist can be bypassed with @ and encoded value of @ (%40) GET /proxy/?url=http://development.demo.geonode.org%40geoserver:8080/geoserver/web
This will trick the application that the first host is a whitelisted address, but the browser will use @ or %40 as a credential to the host geoserver on port 8080, this will return the data to that host on the response.

References
- WEB https://github.com/GeoNode/geonode/security/advisories/GHSA-pxg5-h34r-7q8p
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-42439
- WEB https://github.com/GeoNode/geonode/commit/79ac6e70419c2e0261548bed91c159b54ff35b8d
- PACKAGE https://github.com/GeoNode/geonode
- WEB https://github.com/GeoNode/geonode/releases/tag/4.1.3
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/geonode/PYSEC-2023-176.yaml
Ready to move
Start Securing
Free, no credit card | First findings in minutes