PT-2019-14810 · Plataformatec · Devise Token Auth

Alboxie

·

Publicado

2019-09-24

·

Atualizado

2022-05-24

·

CVE-2019-16751

CVSS v3.1

6.1

Média

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Devise Token Auth versions through 1.1.2
Description An issue was discovered in the omniauth failure endpoint, which is vulnerable to Reflected Cross Site Scripting (XSS) through the message parameter. Unauthenticated attackers can craft a URL that executes a malicious JavaScript payload in the victim's browser. This affects the fallback render method in the omniauth callbacks controller.
Recommendations For Devise Token Auth versions through 1.1.2, consider disabling the fallback render method in the omniauth callbacks controller as a temporary workaround until a patch is available. Restrict access to the omniauth failure endpoint to minimize the risk of exploitation. Avoid using the message parameter in the affected endpoint until the issue is resolved.

Exploit

Correção

XSS

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

Enumeração de Fraquezas

Identificadores relacionados

CVE-2019-16751
GHSA-MVQR-R76C-WM5F

Produtos afetados

Devise Token Auth