CVE-2023-50258

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:pymedusa:medusa:*:*:*:*:*:*:*:*

History

03 Jan 2024, 20:10

Type Values Removed Values Added
CPE cpe:2.3:a:pymedusa:medusa:*:*:*:*:*:*:*:*
References () https://github.com/pymedusa/Medusa/releases/tag/v1.0.19 - () https://github.com/pymedusa/Medusa/releases/tag/v1.0.19 - Release Notes
References () https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64 - () https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/notifiers/discord.py#L64 - Product
References () https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/ - () https://securitylab.github.com/advisories/GHSL-2023-201_GHSL-2023-202_Medusa/ - Exploit, Third Party Advisory
References () https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158 - () https://github.com/pymedusa/Medusa/blob/3d656652ab277e47689483912ed7fc443e7023e8/medusa/server/web/home/handler.py#L158 - Product
References () https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g - () https://github.com/pymedusa/Medusa/security/advisories/GHSA-3hph-6586-qv9g - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
First Time Pymedusa medusa
Pymedusa

22 Dec 2023, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-12-22 17:15

Updated : 2024-02-28 20:54


NVD link : CVE-2023-50258

Mitre link : CVE-2023-50258

CVE.ORG link : CVE-2023-50258


JSON object : View

Products Affected

pymedusa

  • medusa
CWE
CWE-918

Server-Side Request Forgery (SSRF)