Dolibarr 3.1.0 admin/company.php username Parameter XSS

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


Synopsis :

The remote web server contains a PHP script that is vulnerable to a
reflected cross-site scripting attack.

Description :

The version of Dolibarr on the remote host fails to properly sanitize
parameters in 'admin/company.php' before using them to generate
dynamic HTML.

By tricking someone into clicking on a specially crafted link, an
attacker may be able exploit this issue to inject arbitrary HTML and
script code in a user's browser to be executed within the security
context of the affected site.

Note that this install is likely affected by other XSS vulnerabilities
as well.

See also :

http://www.nessus.org/u?82be0b1a
https://doliforge.org/tracker/?func=detail&aid=232&group_id=144

Solution :

Upgrade to Dolibarr 3.1.1 or apply the linked patches from the vendor.

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: 58747 ()

Bugtraq ID: 50617

CVE ID: CVE-2011-4329