Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458562 (CVE-2013-0785) - <www-apps/bugzilla-{3.6.13,4.0.10,4.2.5}: Information Disclosure Weakness and Cross-Site Scripting Vulnerability (CVE-2013-{0785,0786})
Summary: <www-apps/bugzilla-{3.6.13,4.0.10,4.2.5}: Information Disclosure Weakness and...
Status: RESOLVED FIXED
Alias: CVE-2013-0785
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://secunia.com/advisories/52254/
Whiteboard: B4 [noglsa]
Keywords:
: 483050 (view as bug list)
Depends on:
Blocks: CVE-2012-0465 CVE-2012-1968 CVE-2012-3981 CVE-2012-4189
  Show dependency tree
 
Reported: 2013-02-21 10:18 UTC by Agostino Sarubbo
Modified: 2013-09-23 11:41 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-02-21 10:18:59 UTC
From ${URL} :

Description
A weakness and a vulnerability has been reported in Bugzilla, which can be exploited by malicious 
users to disclose potentially sensitive information and by malicious people to conduct cross-site 
scripting attacks.

1) Input passed to the "id" parameter in show_bug.cgi (when "format" is set to an invalid format) 
is not properly sanitised before being returned to the user. This can be exploited to execute 
arbitrary HTML and script code in a user's browser session in context of an affected site.

The vulnerability is reported in versions 2.0 through 3.6.12, 3.7.1 through 4.0.9, and 4.1.1 
through 4.2.4.

2) An error related to running a query in debug mode can be exploited to disclose if certain field 
values exists e.g. product names.

The weakness is reported in versions 2.17.1 through 3.6.12 and 3.7.1 through 4.0.9.


Solution
Update to version 3.6.13, 4.0.10, or 4.2.5.

Provided and/or discovered by
1) SimranJeet Singh within a bug ticket.
2) Reported by the vendor.

Original Advisory
http://www.bugzilla.org/security/3.6.12/
https://bugzilla.mozilla.org/show_bug.cgi?id=842038
https://bugzilla.mozilla.org/show_bug.cgi?id=824399
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2013-03-04 23:29:19 UTC
CVE-2013-0786 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-0786):
  The Bugzilla::Search::build_subselect function in Bugzilla 2.x and 3.x
  before 3.6.13 and 3.7.x and 4.0.x before 4.0.10 generates different error
  messages for invalid product queries depending on whether a product exists,
  which allows remote attackers to discover private product names by using
  debug mode for a query.

CVE-2013-0785 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-0785):
  Cross-site scripting (XSS) vulnerability in show_bug.cgi in Bugzilla before
  3.6.13, 3.7.x and 4.0.x before 4.0.10, 4.1.x and 4.2.x before 4.2.5, and
  4.3.x and 4.4.x before 4.4rc2 allows remote attackers to inject arbitrary
  web script or HTML via the id parameter in conjunction with an invalid value
  of the format parameter.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-08-30 21:50:04 UTC
*** Bug 483050 has been marked as a duplicate of this bug. ***
Comment 3 Chris Reffett (RETIRED) gentoo-dev Security 2013-09-03 21:13:28 UTC
Since this one has the highest version numbers in the mess of bugzie security issues, let's centralize here. Bugzilla needs bumps to 3.6.13, 4.0.10, 4.2.5.
Comment 4 Chris Reffett (RETIRED) gentoo-dev Security 2013-09-18 03:20:12 UTC
Security bump. Arches, please test and stabilize:
=www-apps/bugzilla-3.6.13
Target arches: amd64 x86
Comment 5 Agostino Sarubbo gentoo-dev 2013-09-21 10:54:39 UTC
amd64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2013-09-21 10:55:56 UTC
x86 stable
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2013-09-23 02:13:47 UTC
GLSA vote (for this and blocked bugs as a whole): no.
Comment 8 Sergey Popov gentoo-dev 2013-09-23 11:41:20 UTC
GLSA vote: no

Closing this as noglsa