CVE-2016-1900 Cross-site scripting in n/a
Remote attackers with write access can inject HTTP headers or execute scripts via filenames, enabling XSS or response splitting attacks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-1900?
CVE-2016-1900 is a low-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 20 Jan 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
CRLF injection vulnerability in the cgit_print_http_headers function in ui-shared.c in CGit before 0.12 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.
Which versions are affected by CVE-2016-1900?
It affects 2 products.
Products include Cgit Project Cgit, Fedoraproject Fedora.
How do I fix CVE-2016-1900?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2016-1900 being exploited?
There is no known exploitation of CVE-2016-1900 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2016-1900, GHSA-c3jf-224g-ww8f.