Security Advisory for Bugzilla 3.0.4, 3.1.4, and 2.22.4

Max Kanat-Alexander mkanat at
Tue Aug 12 10:46:34 UTC 2008


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

This advisory covers a security issue that has recently been fixed
in the Bugzilla code:

* Local files on the server can be attached to a bug (making them
  publicly visible) when importing bugs with --attach_path

All affected installations are encouraged to upgrade as soon as 

Vulnerability Details

Class:       Directory Traversal
Versions:    2.22.1 - 2.22.4, 2.23.3 and higher
Description: When importing bugs using, the --attach_path
             option can be specified, pointing to the directory where
             attachments to import are stored. If the XML file being
             read by contains a malicious node like the
             <data encoding="filename">
             then the script follows this relative path and attaches
             the local file pointed by it to the bug, making the file
             The security fix makes sure that relative paths are always
             Most Bugzilla installations will not be vulnerable, as
             they do not use --attach_path with
             (In fact, most installations don't use at 

Vulnerability Solutions

The fix for the security bug mentioned in this advisory is included in
the 3.2rc1, 3.0.5, and 2.22.5 releases. Upgrading to these releases
will protect installations from possible exploits of this issue.

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


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

Greg Hendricks
Frédéric Buclin
Ilja van Sprundel

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

Comments and follow-ups can be directed to the
newsgroup or the support-bugzilla mailing list. has directions for accessing these
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the announce mailing list