cve/2023/CVE-2023-50259.md

19 lines
1.3 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-50259](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-50259)
![](https://img.shields.io/static/v1?label=Product&message=Medusa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.0.19%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-918%3A%20Server-Side%20Request%20Forgery%20(SSRF)&color=brighgreen)
### Description
Medusa is an automatic video library manager for TV shows. Versions prior to 1.0.19 are vulnerable to unauthenticated blind server-side request forgery (SSRF). The `testslack` request handler in `medusa/server/web/home/handler.py` does not validate the user-controlled `slack_webhook` variable and passes it to the `notifiers.slack_notifier.test_notify` method, then `_notify_slack` and finally `_send_slack` method, which sends a POST request to the user-controlled URL on line 103 in `/medusa/notifiers/slack.py`, which leads to a blind server-side request forgery (SSRF). This issue allows for crafting POST requests on behalf of the Medusa server. Version 1.0.19 contains a fix for the issue.
### POC
#### Reference
- https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv
- https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/
#### Github
No PoCs found on GitHub currently.