-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0832
       A number of vulnerabilities have been identified in Bugzilla
                             3 September 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Bugzilla
Publisher:         Bugzilla
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account      
                   Access Confidential Data        -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-3981  

Original Bulletin: 
   http://www.bugzilla.org/security/3.6.10/

- --------------------------BEGIN INCLUDED TEXT--------------------

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:

* When the user logs in using LDAP, the username is not escaped
  before being passed to LDAP which could potentially lead to LDAP
  injection.

* Extensions are not protected against directory browsing by default
  and users can view the source code of templates used by the
  extensions. These templates may contain sensitive data.

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


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

Class:       LDAP Injection
Versions:    2.12 to 3.6.10, 3.7.1 to 4.0.7, 4.1.1 to 4.2.2,
             4.3.1 to 4.3.2
Fixed In:    3.6.11, 4.0.8, 4.2.3, 4.3.3
Description: When the user logs in using LDAP, the username is not
             escaped when building the uid=$username filter which is
             used to query the LDAP directory. This could potentially
             lead to LDAP injection.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=785470
CVE Number:  CVE-2012-3981

Class:       Directory Browsing
Versions:    2.23.2 to 3.6.10, 3.7.1 to 4.0.7, 4.1.1 to 4.2.2,
             4.3.1 to 4.3.2
Fixed In:    4.0.8, 4.2.3, 4.3.3
Description: Extensions are not protected against directory browsing
             and users can access the source code of the templates
             which may contain sensitive data.
             Directory browsing is blocked in Bugzilla 4.3.3 only,
             because it requires a configuration change in the Apache
             httpd.conf file to allow local .htaccess files to use
             Options -Indexes. To not break existing installations,
             this fix has not been backported to stable branches.
             The access to templates is blocked for all supported
             branches except the old 3.6 branch, because this branch
             doesn't have .htaccess in the bzr repository and cannot
             be fixed easily for existing installations without
             potentially conflicting with custom changes.
References:  https://bugzilla.mozilla.org/show_bug.cgi?id=785522
             https://bugzilla.mozilla.org/show_bug.cgi?id=785511
CVE Number:  none

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

The fixes for these issues are included in the 3.6.11, 4.0.8, 4.2.3
and 4.3.3 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/organizations for
their assistance in locating, advising us of, and assisting us to fix
this issue:

Frédéric Buclin
Reed Loden
Byron Jones
Lockheed Martin

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.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUEQxfu4yVqjM2NGpAQKV5A/8Ce27Xe9pdBMofqPbqK5TlZXubvuZi30p
aNPuWg5txecpAeb2xG6QE7Y9f8fB5Kb0b2MW+dBbqxJGHxIQXSRV5kD+5ff6isCy
H/G1FUG4gtBf7XU2iRU8VNLt2d5La0Rr8b6XqAAI84KMwjx6+WZqV1IHBwig29W4
n9U/QCFjXpRAoVphxuo7vpqK2R9vTJP8PmqD3TLANCb8I6FMPaALcvRKj4z+kj2W
A3TdUcLw5u+ktICN20vQLtuVoAzP2+usHZ09Zc1AvQbnE7z/myYFUk3TrAzOJ792
k0gY6jXEKfR+yGG4h3hw4CTlMyoeytVSJTlkEK573tzh4nsw0/I+RUeO3W+hhAg2
xn/xKtMp4+unXeCv9NT1hoZD+qDR1TKkh8QyW27pw9M0PppHj5wFuB0iLAUkLMIa
t2YWjLwLXzhDHFRIMzKfiB8m/VVUyokhpD0eG9OQ6rJNWMYXyJpCNXo22iy4tcV0
JO3Wq9hf0Q2XEAMovoTcokcfi2oK4T5AM5HDeMtJxWwnLH0oEEqzAYrW6kfQmpO8
ariRCSeuNsLNuw/wEvqG9IRdDRryw927u63zkS/uqt4dwrll1QpZ4FntGj2qYaVX
pt/S4uN7ccEMUmBdfX2/hGA+ioiMdb+W58RN27PzbMkPru1XPHUEdc0LcIMWyeQx
ezULa8FtoMc=
=iS+t
-----END PGP SIGNATURE-----