Cross-site scripting in cgit



| Updated: 2020-07-28
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-1900
CWE-ID CWE-79
Exploitation vector Network
Public exploit N/A
Vulnerable software
cgit
Client/Desktop applications / Software for system administration

Vendor Jason A. Donenfeld

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Cross-site scripting

EUVDB-ID: #VU32342

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: CVE-2016-1900

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

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

CPE2.3 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


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.



###SIDEBAR###