Cross-site scripting in cgit



Published: 2011-08-03 | 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
Subscribe
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

CVSSv3.1: 1.4 [CVSS:3.1/AV:N/AC:L/PR:/UI:N/S:U/C:N/I:L/A:N/E:U/RL:U/RC:C]

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

External links

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


Q & A

Can this vulnerability be exploited remotely?

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

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###