#VU36698 Cross-site scripting in gogs - CVE-2018-17031


| Updated: 2020-08-08

Vulnerability identifier: #VU36698

Vulnerability risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear]

CVE-ID: CVE-2018-17031

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
gogs
Other software / Other software solutions

Vendor: gogs.io

Description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not sent.

Mitigation
Install update from vendor's website.

Vulnerable software versions

gogs: 0.11.53


External links
https://github.com/gogs/gogs/issues/5397


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability