SSRF in Pymedusa Medusa

CVE-2023-50259

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.006 (45.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-50259?
CVE-2023-50259 is a medium-severity vulnerability in Pymedusa Medusa, classified under Server-Side Request Forgery (SSRF). CVSS score: 5.3/10. Published 2023-12-22.
How severe is CVE-2023-50259?
Medium severity. CVSS v3 base score is 5.3 out of 10.