Cross-site scripting in cgit



| Updated: 2020-08-11
Risk Low
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2011-2711
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: #VU44852

Risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2011-2711

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

Exploit availability: No

Description

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in the print_fileinfo function in ui-diff.c in cgit 0.9.0.2 and earlier. A remote authenticated attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security 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

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

cgit: 0.1 - 0.9.0.1

CPE2.3 External links

https://hjemli.net/git/cgit/commit/?h=stable&id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5
https://hjemli.net/pipermail/cgit/2011-July/000276.html
https://secunia.com/advisories/45358
https://secunia.com/advisories/45541
https://www.openwall.com/lists/oss-security/2011/07/22/2
https://www.openwall.com/lists/oss-security/2011/07/22/6
https://www.openwall.com/lists/oss-security/2011/07/22/7
https://www.openwall.com/lists/oss-security/2011/07/24/3
https://www.openwall.com/lists/oss-security/2011/07/24/4
https://www.osvdb.org/74050
https://www.securityfocus.com/bid/48866
https://bugzilla.redhat.com/show_bug.cgi?id=725042
https://exchange.xforce.ibmcloud.com/vulnerabilities/68754
https://hermes.opensuse.org/messages/10998459


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###