REDHAT-BUG-663609: XSS

Published Dec 16, 2010
·
Updated

Cross-site scripting (XSS) flaw was found in the web interface of Git distributed revision control system. A remote attacker could use this flaw to execute arbitrary HTML or scripting code by providing a certain URL with specially-crafted values of f and fp variables.

References: [1] http://www.bugsearch.net/en/11075/gitweb-1733-cross-site-scripting-cve-2010-3906.html?ref=3 [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607248

Upstream changeset: [3] http://repo.or.cz/w/git.git/commit/3017ed62f47ce14a959e2d315c434d4980cf4243

Public PoC (from [1]): http://localhost/?p=foo/bar/ph33r.git;a=blobdiff;f=[XSS];fp=[XSS] [XSS] => "><body onload="alert('xss')"> <a

Credit: Emanuele 'emgent' Gentili

Affected Software

1 affected component
Git gitweb

Event History

Dec 16, 2010
Data Sourced
via Red Hat·11:33 AM
DescriptionSeverityAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203