{"id":"CVE-2023-50258","state":"PUBLISHED","title":"Blind SSRF in `/home/testdiscord` endpoint","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 `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.","publishedAt":"2023-12-22T16:55:58.406Z","updatedAt":"2025-04-23T16:18:19.076Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["pymedusa Medusa"],"affected":[{"vendor":"pymedusa","product":"Medusa","versions":[{"version":"< 1.0.19","status":"affected"}]}],"references":["https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g","https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64","https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158","https://github.com/pymedusa/Medusa/releases/tag/v1.0.19","https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/50xxx/CVE-2023-50258.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-50258","state":"PUBLISHED","datePublished":"2023-12-22T16:55:58.406Z","dateUpdated":"2025-04-23T16:18:19.076Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-05T20:42:59.378Z"},"containers":{"cna":{"title":"Blind SSRF in `/home/testdiscord` endpoint","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pymedusa","product":"Medusa","versions":[{"version":"< 1.0.19","status":"affected"}]}],"references":[{"url":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g","name":"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","name":"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","name":"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","name":"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/","name":"https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-12-22T16:55:58.406Z"},"source":{"advisory":"GHSA-3hph-6586-qv9g","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g","name":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pymedusa/Medusa/releases/tag/v1.0.19","name":"https://github.com/pymedusa/Medusa/releases/tag/v1.0.19","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/","name":"https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T22:16:46.074Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-01-02T16:09:59.369625Z","id":"CVE-2023-50258","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T16:18:19.076Z"}}]}}}