cgit HTML Injection Vulnerability
BID:48866
Info
cgit HTML Injection Vulnerability
| Bugtraq ID: | 48866 |
| Class: | Design Error |
| CVE: |
CVE-2011-2711 |
| Remote: | Yes |
| Local: | No |
| Published: | Jul 22 2011 12:00AM |
| Updated: | Apr 13 2015 09:01PM |
| Credit: | Jan iankko Lieskovsky |
| Vulnerable: |
cgit cgit 0.8.3.5 cgit cgit 0.8.3.4 |
| Not Vulnerable: |
cgit cgit 0.9.0.2-2 |
Discussion
cgit HTML Injection Vulnerability
cgit is prone to an HTML-injection vulnerability.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Versions prior to cgit 0.9.0.2-2 are vulnerable.
cgit is prone to an HTML-injection vulnerability.
Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.
Versions prior to cgit 0.9.0.2-2 are vulnerable.
Exploit / POC
cgit HTML Injection Vulnerability
Attackers can use a browser to exploit this issue.
Attackers can use a browser to exploit this issue.
References
cgit HTML Injection Vulnerability
References:
References:
- cgit Homepage (cgit)
- [PATCH] Fix potential XSS vulnerability in rename hint (Lukas Fleischer)
- Bug 725042 - cgit: XSS flaw in rename hint (Red Hat)