PT-2015-6011 · Ruby · Paperclip
Mori Shingo
·
Publicado
2015-07-10
·
Atualizado
2018-08-13
·
CVE-2015-2963
CVSS v2.0
4.3
Média
| Vetor | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
paperclip gem versions prior to 4.2.2
Description
The issue allows remote attackers to upload HTML documents and conduct cross-site scripting (XSS) attacks via a spoofed content-type value. This can be achieved by providing a false
content-type value, such as image/jpeg, to bypass media-type validation and upload malicious files.Recommendations
For versions prior to 4.2.2, update to version 4.2.2 or later to resolve the issue. As a temporary workaround, consider implementing additional validation for the
content-type value to prevent spoofing attacks. Restrict access to upload functionality to minimize the risk of exploitation.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
Produtos afetados
Paperclip