CVE-2024-41118 streamlit-geospatial blind SSRF in pages/7_📦_Web_Map_Service.py

High 7.5 Published Updated

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.

Sources

Is CVE-2024-41118 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free