Bugzilla long_list.cgi could allow the modification of SQL queries

bugzilla-longlist-modify-sql (7811) The risk level is classified as HighHigh Risk

Description:

A vulnerability in the long_list.cgi script in Bugzilla could allow a remote attacker to modify SQL queries. A remote attacker could insert a specially-crafted SQL into the $bug variable, which could allow the modification of SQL queries and the insertion of malicious data into the database.

Platforms Affected:

  • Mozilla, Bugzilla 2.10
  • Mozilla, Bugzilla 2.12
  • Mozilla, Bugzilla 2.14
  • Mozilla, Bugzilla 2.4
  • Mozilla, Bugzilla 2.6
  • Mozilla, Bugzilla 2.8
  • RedHat, Linux Powertools 7.0
  • RedHat, Linux Powertools 7.1

Remedy:

Upgrade to the latest version of Bugzilla (2.14.1 or later), as listed in Bugzilla Security Advisory dated January 5th, 2002. See References.

Consequences:

Data Manipulation

References:

  • BugTraq Mailing List, Sun Jan 06 2002 - 05:34:01 CST, Inproper input validation in Bugzilla <=2.14 - exploit at http://archives.neohapsis.com/archives/bugtraq/2002-01/0052.html.
  • Bugzilla Security Advisory Jan 5th, 2002, Bugzilla 2.14.1 Released! at http://www.bugzilla.org/security/2.14.1/.
  • Bugzilla Web site, Bugzilla Bug 109690 [security] longlist.cgi doesn't check that $bug is valid at http://bugzilla.mozilla.org/show_bug.cgi?id=109690.
  • Bugzilla Web site, Bugzilla 2.14.1 Release Notes at http://www.bugzilla.org/releases/2.14.1/release-notes.html.
  • BID-3801: BugZilla BugList.CGI SQL Query Manipulation Vulnerability
  • BID-3802: BugZilla UserPrefs.CGI Groupset Form Element Manipulation Vulnerability
  • BID-3804: BugZilla BugList.CGI HTML Form SQL Query Manipulation Vulnerability
  • BID-3805: BugZilla LongList.CGI SQL Query Manipulation Vulnerability
  • CVE-2002-0010: Bugzilla before 2.14.1 allows remote attackers to inject arbitrary SQL code and create files or gain privileges via (1) the sql parameter in buglist.cgi, (2) invalid field names from the boolean chart query in buglist.cgi, (3) the mybugslink parameter in userprefs.cgi, (4) a malformed bug ID in the buglist parameter in long_list.cgi, and (5) the value parameter in editusers.cgi, which allows groupset privileges to be modified by attackers with blessgroupset privileges.
  • RHSA-2002-001: Updated bugzilla packages available

Reported:

Jan 05, 2002

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page