PT-2018-13849 · Gogs · Gogs

Wenxu Wu

·

Publicado

2018-09-14

·

Atualizado

2024-08-20

·

CVE-2018-17031

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 Gogs version 0.11.53
Description The issue allows an attacker to trigger MIME type sniffing using a crafted .eml file, leading to XSS. This is demonstrated by Internet Explorer and is caused by the lack of an "X-Content-Type-Options: nosniff" header.
Recommendations For Gogs version 0.11.53, consider implementing the "X-Content-Type-Options: nosniff" header to prevent MIME type sniffing and mitigate the risk of XSS. As a temporary workaround, restrict the handling of .eml files until a patch is available.

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-2018-17031
GHSA-PX5R-FQJ6-R2F8
GO-2023-1972

Produtos afetados

Gogs