#VU31496 Cross-site scripting in ViewVC - CVE-2012-4533


| Updated: 2025-01-28

Vulnerability identifier: #VU31496

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-2012-4533

CWE-ID: CWE-79

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ViewVC
Web applications / Modules and components for CMS

Vendor: ViewVC

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 in the "extra" details in the DiffSource._get_row function in lib/viewvc.py in ViewVC 1.0.x before 1.0.13 and 1.1.x before 1.1.16. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

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 1.1.16.

Vulnerable software versions

ViewVC: 1.1.0 - 1.1.15


External links
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691062
https://osvdb.org/86566
https://secunia.com/advisories/51041
https://secunia.com/advisories/51072
https://viewvc.tigris.org/issues/show_bug.cgi?id=515
https://viewvc.tigris.org/source/browse/*checkout*/viewvc/tags/1.0.13/CHANGES
https://viewvc.tigris.org/source/browse/*checkout*/viewvc/tags/1.1.16/CHANGES
https://viewvc.tigris.org/source/browse/viewvc?view=rev&revision=2792
https://viewvc.tigris.org/source/browse/viewvc?view=rev&revision=2794
https://www.debian.org/security/2012/dsa-2563
https://www.mandriva.com/security/advisories?name=MDVSA-2013:134
https://www.openwall.com/lists/oss-security/2012/10/21/2
https://www.openwall.com/lists/oss-security/2012/10/21/3
https://www.securityfocus.com/bid/56161
https://exchange.xforce.ibmcloud.com/vulnerabilities/79561
https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0313


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