{"id":"CVE-2023-50258","published":"2023-12-22T16:55:58Z","modified":"2025-04-23T16:18:19Z","title":"Blind SSRF in `/home/testdiscord` endpoint","vendor":"pymedusa","product":"Medusa","tier":"tail","description":{"text":"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 `testDiscord` request handler in `medusa/server/web/home/handler.py` does not validate the user-controlled `discord_webhook` variable and passes it to the `notifiers.discord_notifier.test_notify` method, then `_notify_discord` and finally `_send_discord_msg` method,  which sends a POST request to the user-controlled URL on line 64 in `/medusa/notifiers/discord.py`, which leads to a blind server-side request forgery. This issue allows for crafting POST requests on behalf of the Medusa server. Version 1.0.19 contains a fix for the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00693,"percentile":0.53833,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64","tags":["x_refsource_MISC"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158","tags":["x_refsource_MISC"]},{"url":"https://github.com/pymedusa/Medusa/releases/tag/v1.0.19","tags":["x_refsource_MISC"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/","tags":["x_refsource_MISC"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":10.77},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"pymedusa","affectedVersions":[{"vendor":"pymedusa","product":"Medusa","versions":["< 1.0.19"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-01-02T16:09:59.369625Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-55072","exploited":false,"provenance":"source"}}