Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488432 (CVE-2013-1733) - <www-apps/bugzilla-{4.0.11,4.2.7,4.4.1}: Multiple vulnerabilities (CVE-2013-{1733,1734,1742,1743})
Summary: <www-apps/bugzilla-{4.0.11,4.2.7,4.4.1}: Multiple vulnerabilities (CVE-2013-{...
Status: RESOLVED FIXED
Alias: CVE-2013-1733
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: http://www.bugzilla.org/security/4.0.10/
Whiteboard: B4 [noglsa]
Keywords:
Depends on:
Blocks: 487476
  Show dependency tree
 
Reported: 2013-10-17 23:18 UTC by Alex Xu (Hello71)
Modified: 2013-10-28 16:26 UTC (History)
4 users (show)

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


Attachments
bugzilla 4.4.1 ebuild (bugzilla-4.4.1.ebuild,3.13 KB, text/plain)
2013-10-19 21:01 UTC, Andrew Hamilton
no flags Details
bugzilla 4.2.7 ebuild (bugzilla-4.2.7.ebuild,3.13 KB, text/plain)
2013-10-19 21:02 UTC, Andrew Hamilton
no flags Details
bugzilla 4.0.11 ebuild (bugzilla-4.0.11.ebuild,3.13 KB, text/plain)
2013-10-19 21:02 UTC, Andrew Hamilton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Xu (Hello71) 2013-10-17 23:18:13 UTC
Summary
=======

Bugzilla is a Web-based bug-tracking system used by a large number of
software projects. The following security issues have been discovered
in Bugzilla:

* A CSRF vulnerability in process_bug.cgi affecting Bugzilla 4.4 only
  can lead to a bug being edited without the user consent.

* A CSRF vulnerability in attachment.cgi can lead to an attachment
  being edited without the user consent.

* Several unfiltered parameters when editing flagtypes can lead to XSS.

* Due to an incomplete fix for CVE-2012-4189, some incorrectly filtered
  field values in tabular reports can lead to XSS.

All affected installations are encouraged to upgrade as soon as
possible.


Vulnerability Details
=====================

Class:       Cross-Site Request Forgery
Versions:    4.4rc1 to 4.4
Fixed In:    4.4.1
Description: When a user submits changes to a bug right after another
             user did, a midair collision page is displayed to inform
             the user about changes recently made. This page contains
             a token which can be used to validate the changes if the
             user decides to submit his changes anyway. A regression
             in Bugzilla 4.4 caused this token to be recreated if a
             crafted URL was given, even when no midair collision page
             was going to be displayed, allowing an attacker to bypass
             the token check and abuse a user to commit changes on his
             behalf.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=911593
CVE Number:  CVE-2013-1733

Class:       Cross-Site Request Forgery
Versions:    2.16rc1 to 4.0.10, 4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.0.11, 4.2.7, 4.4.1
Description: When an attachment is edited, a token is generated to
             validate changes made by the user. Using a crafted URL,
             an attacker could force the token to be recreated,
             allowing him to bypass the token check and abuse a user
             to commit changes on his behalf.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=913904
CVE Number:  CVE-2013-1734

Class:       Cross-Site Scripting
Versions:    2.17.1 to 4.0.10, 4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.0.11, 4.2.7, 4.4.1
Description: Some parameters passed to editflagtypes.cgi were not
             correctly filtered in the HTML page, which could lead
             to XSS.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=924802
CVE Number:  CVE-2013-1742

Class:       Cross-Site Scripting
Versions:    4.1.1 to 4.2.6, 4.3.1 to 4.4
Fixed In:    4.2.7, 4.4.1
Description: Due to an incomplete fix for CVE-2012-4189, some
             incorrectly filtered field values in tabular reports
             could lead to XSS.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=924932
CVE Number:  CVE-2013-1743


Vulnerability Solutions
=======================

The fixes for these issues are included in the 4.0.11, 4.2.7 and 4.4.1
releases. Upgrading to a release with the relevant fixes will protect
your installation from possible exploits of these issues.

If you are unable to upgrade but would like to patch just the
individual security vulnerabilities, there are patches available for
each issue at the "References" URL for each vulnerability.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS/bzr upgrade instructions are available at:

  http://www.bugzilla.org/download/


Credits
=======

The Bugzilla team wish to thank the following people for their
assistance in locating, advising us of, and assisting us to fix these
issues:

Mateusz Goik
Frédéric Buclin
David Lawrence

General information about the Bugzilla bug-tracking system can be found
at:

  http://www.bugzilla.org/

Comments and follow-ups can be directed to the mozilla.support.bugzilla
newsgroup or the support-bugzilla mailing list.
http://www.bugzilla.org/support/ has directions for accessing these
forums.
Comment 1 Agostino Sarubbo gentoo-dev 2013-10-18 08:39:37 UTC
Thanks for the report.
Comment 2 Alex Xu (Hello71) 2013-10-18 21:58:09 UTC
4.4 isn't in tree, so -1733 doesn't apply.
Comment 3 Andrew Hamilton 2013-10-19 21:01:23 UTC
Created attachment 361350 [details]
bugzilla 4.4.1 ebuild

new ebuild for bugzilla 4.4.1
Comment 4 Andrew Hamilton 2013-10-19 21:02:04 UTC
Created attachment 361352 [details]
bugzilla 4.2.7 ebuild

new ebuild for bugzilla 4.2.7
Comment 5 Andrew Hamilton 2013-10-19 21:02:28 UTC
Created attachment 361354 [details]
bugzilla 4.0.11 ebuild

new ebuild for bugzilla 4.0.11
Comment 6 Andrew Hamilton 2013-10-19 21:03:51 UTC
I have attached new ebuilds for 4.0.11, 4.2.7, and 4.4.1. These ebuilds also fix a pair of missing dependencies as well as the missing directory from Bug 487476.
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-21 02:37:12 UTC
Security bumped, 4.4.1 added, old versions removed. 3.6.* is EOL now, so it needs to go. We will be stabilizing the 4.2 branch at this point. Arches, please test and stabilize:
=www-apps/bugzilla-4.2.7
Target keywords: amd64 x86
Comment 8 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-21 02:37:46 UTC
And 4.4.1 got added in this pass, so yes -1733 does apply :)
Comment 9 Agostino Sarubbo gentoo-dev 2013-10-22 10:23:36 UTC
amd64 and x86 stable, please vote
Comment 10 Chris Reffett (RETIRED) gentoo-dev Security 2013-10-23 23:20:13 UTC
Affected versions cleaned. GLSA vote: no.
Comment 11 Sergey Popov gentoo-dev 2013-10-24 10:37:12 UTC
GLSA vote: no

Waiting for cleanup
Comment 12 GLSAMaker/CVETool Bot gentoo-dev 2013-10-28 16:20:27 UTC
CVE-2013-1743 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1743):
  Multiple cross-site scripting (XSS) vulnerabilities in report.cgi in
  Bugzilla 4.1.x and 4.2.x before 4.2.7 and 4.3.x and 4.4.x before 4.4.1 allow
  remote attackers to inject arbitrary web script or HTML via a field value
  that is not properly handled during construction of a tabular report, as
  demonstrated by the (1) summary or (2) real name field.  NOTE: this issue
  exists because of an incomplete fix for CVE-2012-4189.

CVE-2013-1742 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1742):
  Multiple cross-site scripting (XSS) vulnerabilities in editflagtypes.cgi in
  Bugzilla 2.x, 3.x, and 4.0.x before 4.0.11; 4.1.x and 4.2.x before 4.2.7;
  and 4.3.x and 4.4.x before 4.4.1 allow remote attackers to inject arbitrary
  web script or HTML via the (1) id or (2) sortkey parameter.

CVE-2013-1734 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1734):
  Cross-site request forgery (CSRF) vulnerability in attachment.cgi in
  Bugzilla 2.x, 3.x, and 4.0.x before 4.0.11; 4.1.x and 4.2.x before 4.2.7;
  and 4.3.x and 4.4.x before 4.4.1 allows remote attackers to hijack the
  authentication of arbitrary users for requests that commit an attachment
  change via an update action.

CVE-2013-1733 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-1733):
  Cross-site request forgery (CSRF) vulnerability in process_bug.cgi in
  Bugzilla 4.4.x before 4.4.1 allows remote attackers to hijack the
  authentication of arbitrary users for requests that modify bugs via vectors
  involving a midair-collision token.
Comment 13 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-10-28 16:26:04 UTC
(In reply to Chris Reffett from comment #10)
> Affected versions cleaned. GLSA vote: no.

Closed as noglsa .