GHSA-pxg5-h34r-7q8p
GeoNode vulnerable to SSRF Bypass to return internal host data
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://github.com/GeoNode/geonode/security/advisories/GHSA-pxg5-h34r-7q8p
- https://nvd.nist.gov/vuln/detail/CVE-2023-42439
- https://github.com/GeoNode/geonode/commit/79ac6e70419c2e0261548bed91c159b54ff35b8d
- https://github.com/GeoNode/geonode
- https://github.com/GeoNode/geonode/releases/tag/4.1.3
- https://github.com/pypa/advisory-database/tree/main/vulns/geonode/PYSEC-2023-176.yaml