cve/2024/CVE-2024-41113.md

21 lines
1.4 KiB
Markdown
Raw Normal View History

2024-08-05 18:41:32 +00:00
### [CVE-2024-41113](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-41113)
![](https://img.shields.io/static/v1?label=Product&message=streamlit-geospatial&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%20c4f81d9616d40c60584e36abb15300853a66e489%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-20%3A%20Improper%20Input%20Validation&color=brighgreen)
### Description
streamlit-geospatial is a streamlit multipage app for geospatial applications. Prior to commit c4f81d9616d40c60584e36abb15300853a66e489, the `vis_params` variable on line 383 or line 390 in `pages/1_📷_Timelapse.py` takes user input, which is later used in the `eval()` function on line 395, leading to remote code execution. Commit c4f81d9616d40c60584e36abb15300853a66e489 fixes this issue.
### POC
#### Reference
2024-08-09 18:54:21 +00:00
- https://github.com/opengeos/streamlit-geospatial/blob/4b89495f3bdd481998aadf1fc74b10de0f71c237/pages/1_%F0%9F%93%B7_Timelapse.py#L383-L388
- https://github.com/opengeos/streamlit-geospatial/blob/4b89495f3bdd481998aadf1fc74b10de0f71c237/pages/1_%F0%9F%93%B7_Timelapse.py#L390-L393
- https://github.com/opengeos/streamlit-geospatial/blob/4b89495f3bdd481998aadf1fc74b10de0f71c237/pages/1_%F0%9F%93%B7_Timelapse.py#L395
2024-08-05 18:41:32 +00:00
- https://securitylab.github.com/advisories/GHSL-2024-100_GHSL-2024-108_streamlit-geospatial/
#### Github
No PoCs found on GitHub currently.