{"id":"CVE-2023-50259","state":"PUBLISHED","title":"Blind SSRF in /home/testslack 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 `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.","publishedAt":"2023-12-22T17:00:00.976Z","updatedAt":"2024-11-27T15:45:03.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-8mcr-vffr-jwxv","https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103","https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168","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-50259.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-50259","state":"PUBLISHED","datePublished":"2023-12-22T17:00:00.976Z","dateUpdated":"2024-11-27T15:45:03.076Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-12-05T20:42:59.379Z"},"containers":{"cna":{"title":"Blind SSRF in /home/testslack 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 `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."}],"affected":[{"vendor":"pymedusa","product":"Medusa","versions":[{"version":"< 1.0.19","status":"affected"}]}],"references":[{"url":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv","name":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103","tags":["x_refsource_MISC"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168","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-22T17:00:00.976Z"},"source":{"advisory":"GHSA-8mcr-vffr-jwxv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv","name":"https://github.com/pymedusa/Medusa/security/advisories/GHSA-8mcr-vffr-jwxv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/slack.py#L103","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168","name":"https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L168","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.296Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T15:44:11.673588Z","id":"CVE-2023-50259","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":"2024-11-27T15:45:03.076Z"}}]}}}