PT-2023-31512 · Medusa · Medusa

·

CVE-2023-50258

·

Publicado

2023-12-22

·

Atualizado

2024-01-03

CVSS v3.1

5.3

Média

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Medusa versions prior to 1.0.19
Description Medusa is an automatic video library manager for TV shows. The issue is related 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. This allows for crafting POST requests on behalf of the Medusa server.
Recommendations For versions prior to 1.0.19, update to version 1.0.19 to resolve the issue. As a temporary workaround, consider disabling the testDiscord request handler in medusa/server/web/home/handler.py until a patch is available. Restrict access to the discord webhook variable to minimize the risk of exploitation. Avoid using the discord webhook variable in the affected API endpoint until the issue is resolved.

Exploit

Correção

SSRF

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2023-50258
GHSA-3HPH-6586-QV9G

Produtos afetados

Medusa