CVE-2005-4831 Cross-site scripting in n/a
Remote attackers can inject arbitrary Content-Type headers in ViewCVS to execute cross-site scripting attacks, requiring user interaction to trigger.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2005-4831?
CVE-2005-4831 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Mar 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
viewcvs in ViewCVS 0.9.2 allows remote attackers to set the Content-Type header to arbitrary values via the content-type parameter, which can be leveraged for cross-site scripting (XSS) and other attacks, as demonstrated using (1) "text/html", or (2) "image/jpeg" with an image that is rendered as HTML by Internet Explorer, a different vulnerability than CVE-2004-1062. NOTE: it was later reported that 0.9.4 is also affected.
Which versions are affected by CVE-2005-4831?
It affects 1 product.
Products include Viewcvs Viewcvs.
How do I fix CVE-2005-4831?
No fix has been published for CVE-2005-4831 yet. Limit exposure of the affected software until one is available.
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-2005-4831 being exploited?
There is no known exploitation of CVE-2005-4831 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4c2f-99wj-9wvv.