SquidClamav clwarn.cgi url Parameter XSS

This script is Copyright (C) 2012 Tenable Network Security, Inc.


Synopsis :

The remote web server hosts a CGI script that is affected by a
cross-site scripting vulnerability.

Description :

The version of SquidClamav installed on the remote host is affected by
a cross-site scripting vulnerability because it fails to properly
sanitize user-supplied input to the 'url' parameter of the 'clwarn.cgi'
script. An attacker may leverage this issue to execute arbitrary script
in the browser of an unsuspecting user to be executed within the
security context of the affected site.

Note that the application is also reportedly affected by cross-site
scripting vulnerabilities with the 'source', 'virus' and 'user'
parameters of the 'clwarn.cgi' script but Nessus has not tested the
additional parameters.

See also :

http://www.nessus.org/u?5a9d0663
http://squidclamav.darold.net/news.html

Solution :

Update to version 5.8 / 6.7 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: 62030 ()

Bugtraq ID: 55293

CVE ID: CVE-2012-4667