CVE-2024-41118 streamlit-geospatial blind SSRF in pages/7_📦_Web_Map_Service.py
Attackers can trigger blind server-side request forgery via user-controlled URLs in the Web Map Service page, potentially accessing internal resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-41118?
CVE-2024-41118 is a high-severity server-side request forgery vulnerability in opengeos streamlit-geospatial, published on 26 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
streamlit-geospatial is a streamlit multipage app for geospatial applications. Prior to commit c4f81d9616d40c60584e36abb15300853a66e489, the `url` variable on line 47 of `pages/7_📦_Web_Map_Service.py` takes user input, which is passed to `get_layers` function, in which `url` is used with `get_wms_layer` method. `get_wms_layer` method creates a request to arbitrary destinations, leading to blind server-side request forgery. Commit c4f81d9616d40c60584e36abb15300853a66e489 fixes this issue.
Weakness: CWE-918
Which versions are affected by CVE-2024-41118?
It affects 1 product.
Products include Opengeos Streamlit-Geospatial.
How do I fix CVE-2024-41118?
No fix has been published for CVE-2024-41118 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-41118 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-41118 exists.
Other vulnerabilities in opengeos streamlit-geospatial
- CVE-2024-41112 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py Any Earth Engine ImageCollection option palette
- CVE-2024-41113 Code injection in streamlit-geospatial
- CVE-2024-41114 Code injection in streamlit-geospatial
- CVE-2024-41115 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option palette
- CVE-2024-41116 Remote code execution in streamlit geospatial in pages/1_📷_Timelapse.py MODIS Ocean Color SMI option vis_params