2.20.3, 2.22.1, and 2.23.3 Security Advisory

Friday, Feb 2nd, 2007
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 possible cross-site scripting (XSS) vulnerability in Atom feeds
  produced by Bugzilla.

* Web server settings given by Bugzilla which provide security settings
  to protect data files from access via the web are overridden by the
  mod_perl startup script when running under mod_perl (development
  snapshot only).

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


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

Class:       Cross-Site Scripting
Affected:    2.20.1 and above
Description: Bugzilla does not properly escape some fields in generated
             Atom feeds, which leads to the potential for cross-site
             scripting in feed readers that support javascript and
             properly implement the Atom feed specification.


Class:       Database password disclosure
Affected:    2.23.3 only
Description: Bugzilla development snapshot version 2.23.3 introduced
             the ability to run Bugzilla under mod_perl on Apache.
             The mod_perl initialization script included with Bugzilla
             defines a new  block in the Apache configuration
             for the directory containing Bugzilla. This block fails to
             include permission for .htaccess files to override file
             access permissions.  The .htaccess file shipped with
             Bugzilla prohibits access by web browsers to read the
             localconfig file, which contains the username and password
             for connecting to the database server.
             If you are not running Bugzilla under mod_perl, then this
             does not affect you.


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

The fix for these issues is included in the 
releases. Upgrading to a release with the relevant fix will
protect your installation from possible exploits of these issues.

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

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

  https://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 this
issue:


Issue 1 Reporter: Frédéric Buclin
Issue 1 Fixed by: Frédéric Buclin, Max Kanat-Alexander, Dave Miller


Issue 2 Reporter: Dave Miller
Issue 2 Fixed by: Dave Miller, Olav Vitters, Frédéric Buclin, Max Kanat-Alexander

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

  https://www.bugzilla.org/

Comments and follow-ups can be directed to the support-bugzilla mailing list.
https://www.bugzilla.org/support/ has directions for accessing this forum.