Git gitweb Multiple Parameter XSS

This script is Copyright (C) 2010-2013 Tenable Network Security, Inc.


Synopsis :

The remote web server hosts a CGI script that is prone to a cross-
site scripting attack.

Description :

The version of gitweb, a web-enabled interface to the open source
distributed version control system Git, hosted on the remote web
server fails to sanitize user-supplied input to the 'f' and 'fp'
parameters before using it to generate dynamic HTML.

An attacker may be able to leverage this issue to inject arbitrary
HTML or script code into a user's browser to be executed within the
security context of the affected site.

See also :

http://lists.q42.co.uk/pipermail/git-announce/2011-August/000450.html

Solution :

Upgrade to Git 1.7.3.4 or later.

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: CGI abuses : XSS

Nessus Plugin ID: 51370 ()

Bugtraq ID: 45439

CVE ID: CVE-2010-3906