Vulnerability identifier: #VU32342
Vulnerability risk: Low
CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
cgit
Client/Desktop applications /
Software for system administration
Vendor: Jason A. Donenfeld
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. The vulnerability allows remote attackers with permission to write to a repository to inject arbitrary HTTP headers and conduct HTTP response splitting attacks or cross-site scripting (XSS) attacks via newline characters in a filename.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Mitigation
Update to version 0.12.
Vulnerable software versions
cgit: 0.1 - 0.11.2
External links
https://git.zx2c4.com/cgit/commit/?id=513b3863d999f91b47d7e9f26710390db55f9463
https://lists.fedoraproject.org/pipermail/package-announce/2016-January/176167.html
https://lists.fedoraproject.org/pipermail/package-announce/2016-January/176198.html
https://lists.opensuse.org/opensuse-updates/2016-01/msg00067.html
https://lists.opensuse.org/opensuse-updates/2016-01/msg00084.html
https://lists.zx2c4.com/pipermail/cgit/2016-January/002790.html
https://lists.zx2c4.com/pipermail/cgit/2016-January/002817.html
https://www.debian.org/security/2016/dsa-3545
https://www.openwall.com/lists/oss-security/2016/01/14/3
https://www.openwall.com/lists/oss-security/2016/01/14/6
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.