First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 123646
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Carsten Lohrke <carlo@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 123646 depends on: Show dependency tree
Bug 123646 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-21 12:44 0000
Security Advisory for Bugzilla 2.20, 2.21.1, and 2.18.4

Summary
=======

Bugzilla is a Web-based bug-tracking system, used by a large number of
software projects.

This advisory covers three security bugs that have recently been
discovered and fixed in the Bugzilla code:

+ The 'whinedays' and 'mostfreqthreshold' parameters are not correctly
  validated in editparams.cgi. The first one can lead to SQL injection.

+ Escaped HTML markup in titles of RSS feeds are incorrectly decoded by
  some RSS readers and could potentially lead to XSS vulnerabilities.

+ The login form on the home page, in conjuction with very specific
  configuation settings and a specially formed URL, may redirect you
  outside the Bugzilla installation, allowing the login name and password
  to be stolen.

All Bugzilla installations are advised to upgrade to the latest stable
version of Bugzilla, 2.20.1.

Development snapshots of 2.21 before 2.22rc1 are also vulnerable.
If you are using a development snapshot, you should upgrade to 2.22rc1,
use CVS to update, or apply the patches from the specific bugs listed below.

None of these vulnerabilities affect the old Bugzilla 2.16.x versions.

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

Issue 1
-------
Class:       SQL injection
Versions:    2.17.1 and above
Description: The 'whinedays' parameter, editable from editparams.cgi,
             is not validated before being saved. This can lead to SQL
             injection in the whineatnews.pl script. This injection
             requires administrative privileges.
             The validation for the 'mostfreqthreshold' parameter is also
             missing, but this is not exploitable.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=312498


Issue 2
-------
Class:       Cross Site Scripting
Versions:    2.20rc1 - 2.20, 2.21.1
Description: Some RSS readers incorrectly decode escaped HTML markup in
             feed titles and this could be used to inject some scripts.
             Although this is not a Bugzilla bug, we prefer to shift to
             Atom feeds, where the RFC is unambiguous about HTML markup
             in feed titles.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=313441


Issue 3
-------
Class:       Sensitive Data Exposure
Versions:    2.19.3 and above
Description: When the Bugzilla login page is at a subdirectory of the web
             server and the subdirectory name is a resolvable host on the
             victim's local network, it is possible to craft a URL that,
             when used to login to Bugzilla, would send the user's
             credentials to this host.
             These conditions make this flaw very difficult to exploit.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=325079


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

The fixes for all of the security bugs mentioned in this advisory
are included in the 2.18.5, 2.20.1, and 2.22rc1 releases. Upgrading
to these releases will protect installations from possible exploits
of these issues.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS upgrade instructions are available at:
  http://www.bugzilla.org/download.html

Specific patches for each of the individual issues can be found on the
corresponding bug reports for each issue, at the URL given in the
reference for that issue in the list above.


Credits
=======

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

Fr

------- Comment #1 From Carsten Lohrke 2006-02-21 12:44:22 0000 -------
Security Advisory for Bugzilla 2.20, 2.21.1, and 2.18.4

Summary
=======

Bugzilla is a Web-based bug-tracking system, used by a large number of
software projects.

This advisory covers three security bugs that have recently been
discovered and fixed in the Bugzilla code:

+ The 'whinedays' and 'mostfreqthreshold' parameters are not correctly
  validated in editparams.cgi. The first one can lead to SQL injection.

+ Escaped HTML markup in titles of RSS feeds are incorrectly decoded by
  some RSS readers and could potentially lead to XSS vulnerabilities.

+ The login form on the home page, in conjuction with very specific
  configuation settings and a specially formed URL, may redirect you
  outside the Bugzilla installation, allowing the login name and password
  to be stolen.

All Bugzilla installations are advised to upgrade to the latest stable
version of Bugzilla, 2.20.1.

Development snapshots of 2.21 before 2.22rc1 are also vulnerable.
If you are using a development snapshot, you should upgrade to 2.22rc1,
use CVS to update, or apply the patches from the specific bugs listed below.

None of these vulnerabilities affect the old Bugzilla 2.16.x versions.

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

Issue 1
-------
Class:       SQL injection
Versions:    2.17.1 and above
Description: The 'whinedays' parameter, editable from editparams.cgi,
             is not validated before being saved. This can lead to SQL
             injection in the whineatnews.pl script. This injection
             requires administrative privileges.
             The validation for the 'mostfreqthreshold' parameter is also
             missing, but this is not exploitable.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=312498


Issue 2
-------
Class:       Cross Site Scripting
Versions:    2.20rc1 - 2.20, 2.21.1
Description: Some RSS readers incorrectly decode escaped HTML markup in
             feed titles and this could be used to inject some scripts.
             Although this is not a Bugzilla bug, we prefer to shift to
             Atom feeds, where the RFC is unambiguous about HTML markup
             in feed titles.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=313441


Issue 3
-------
Class:       Sensitive Data Exposure
Versions:    2.19.3 and above
Description: When the Bugzilla login page is at a subdirectory of the web
             server and the subdirectory name is a resolvable host on the
             victim's local network, it is possible to craft a URL that,
             when used to login to Bugzilla, would send the user's
             credentials to this host.
             These conditions make this flaw very difficult to exploit.
Reference:   https://bugzilla.mozilla.org/show_bug.cgi?id=325079


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

The fixes for all of the security bugs mentioned in this advisory
are included in the 2.18.5, 2.20.1, and 2.22rc1 releases. Upgrading
to these releases will protect installations from possible exploits
of these issues.

Full release downloads, patches to upgrade Bugzilla from previous
versions, and CVS upgrade instructions are available at:
  http://www.bugzilla.org/download.html

Specific patches for each of the individual issues can be found on the
corresponding bug reports for each issue, at the URL given in the
reference for that issue in the list above.


Credits
=======

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

Frédéric Buclin
Phil Ringnalda
Myk Melez
Teemu Mannermaa


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
netscape.public.mozilla.webtools newsgroup or the mozilla-webtools
mailing list; http://www.bugzilla.org/support/ has directions for
accessing these forums.

------- Comment #2 From Renat Lumpau 2006-02-21 14:11:04 0000 -------
2.18.5 and 2.20.1 in CVS. 2.18.5 needs arch lovin'.

------- Comment #3 From Markus Rothe 2006-02-22 07:07:10 0000 -------
stable on ppc64

------- Comment #4 From Jeffrey Forman (RETIRED) 2006-02-22 07:44:59 0000 -------
Just so those aware dont bug me...I know about the release, I'm on the bugzilla
announce ML. I dont use the ebuild for bugs.gentoo.org because I hack at it a
ton. Hopefully I can begin test this locally in the next coming days->week and
try to schedule some downtime before I take another vacation in a few weeks.

------- Comment #5 From Thierry Carrez (RETIRED) 2006-02-22 10:02:33 0000 -------
Adjusting status

------- Comment #6 From Tobias Scherbaum 2006-02-22 12:08:45 0000 -------
ppc stable

------- Comment #7 From Gustavo Zacarias (RETIRED) 2006-02-23 07:00:07 0000 -------
sparc stable.

------- Comment #8 From Simon Stelling (RETIRED) 2006-02-23 08:57:20 0000 -------
amd64 stable

------- Comment #9 From Mark Loeser 2006-02-24 18:52:21 0000 -------
x86 done

------- Comment #10 From Bryan Østergaard (RETIRED) 2006-02-26 06:41:46 0000 -------
Stable on alpha.

------- Comment #11 From Thierry Carrez (RETIRED) 2006-02-26 09:24:00 0000 -------
Ready to vote.
I tend to say no. SQL injection requires admin privileges, and the other two
are quite lame.

------- Comment #12 From Stefan Cornelius (RETIRED) 2006-02-26 09:47:57 0000 -------
* DerCorny seconds the no.

------- Comment #13 From Thierry Carrez (RETIRED) 2006-03-04 04:02:10 0000 -------
Closing, feel free to reopen if you intended to vote yes.

First Last Prev Next    No search results available      Search page      Enter new bug