First published: Fri Jul 22 2011(Updated: )
An cross-site scripting (XSS) flaw was found in the way cgit, a fast web interface for Git, processed the file name in the rename hint. A remote attacker, valid CGit user with push access to the repository, could use this flaw to execute arbitrary web script or HTML code via a push commit message, renaming some file to a file with specially-crafted file name. References: [1] <a href="http://hjemli.net/pipermail/cgit/2011-July/000276.html">http://hjemli.net/pipermail/cgit/2011-July/000276.html</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
cgit by Lars Hjemli | <=0.9.0.2 | |
cgit by Lars Hjemli | =0.1 | |
cgit by Lars Hjemli | =0.2 | |
cgit by Lars Hjemli | =0.3 | |
cgit by Lars Hjemli | =0.4 | |
cgit by Lars Hjemli | =0.5 | |
cgit by Lars Hjemli | =0.6 | |
cgit by Lars Hjemli | =0.6.1 | |
cgit by Lars Hjemli | =0.6.2 | |
cgit by Lars Hjemli | =0.6.3 | |
cgit by Lars Hjemli | =0.7 | |
cgit by Lars Hjemli | =0.7.1 | |
cgit by Lars Hjemli | =0.7.2 | |
cgit by Lars Hjemli | =0.8 | |
cgit by Lars Hjemli | =0.8.1 | |
cgit by Lars Hjemli | =0.8.1.1 | |
cgit by Lars Hjemli | =0.8.2 | |
cgit by Lars Hjemli | =0.8.2.1 | |
cgit by Lars Hjemli | =0.8.2.2 | |
cgit by Lars Hjemli | =0.8.3 | |
cgit by Lars Hjemli | =0.8.3.1 | |
cgit by Lars Hjemli | =0.8.3.2 | |
cgit by Lars Hjemli | =0.8.3.3 | |
cgit by Lars Hjemli | =0.8.3.4 | |
cgit by Lars Hjemli | =0.8.3.5 | |
cgit by Lars Hjemli | =0.9 | |
cgit by Lars Hjemli | =0.9.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2011-2711 has a medium severity level, allowing a remote attacker to exploit an XSS vulnerability.
To fix CVE-2011-2711, you should update to a version of cgit that is greater than 0.9.0.2, as this vulnerability has been addressed in later releases.
CVE-2011-2711 affects valid users of cgit who have push access to the repository and are using vulnerable versions of the software.
CVE-2011-2711 is classified as a cross-site scripting (XSS) vulnerability.
An attacker leveraging CVE-2011-2711 can execute arbitrary web scripts or HTML code in the context of a user accessing the affected cgit instance.