PT-2023-27211 · Geonode · Geonode
Imthatt
·
Published
2023-08-24
·
Updated
2024-11-21
·
CVE-2023-40017
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
GeoNode versions 3.2.0 through 4.1.2
Description
The issue concerns a server-side request forgery problem in GeoNode. Specifically, the endpoint
/proxy/?url= does not properly protect against this type of attack, allowing an attacker to port scan internal hosts and request information from them. This can be exploited by using specific URL formats, such as /proxy/?url=http://169.254.169.254@whitelistedIPhere, to determine if an internal host is alive. Additionally, an attacker can use a hashfrag on the URL, like /proxy/?url=http://169.254.169.254@#whitelisteddomain.com or /proxy/?url=http://169.254.169.254@%23whitelisteddomain.com, to display metadata.Recommendations
For GeoNode versions 3.2.0 through 4.1.2, apply the patch available at commit a9eebae80cb362009660a1fd49e105e7cdb499b9 to resolve the issue. As a temporary workaround, consider restricting access to the
/proxy/?url= endpoint until the patch is applied.Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Geonode