Debian Security Advisory

DSA-230-1 bugzilla -- insecure permissions, spurious backup files

Date Reported:
16 Jan 2003
Affected Packages:
Security database references:
In the Bugtraq database (at SecurityFocus): BugTraq ID 6501, BugTraq ID 6502.
In Mitre's CVE dictionary: CVE-2003-0012, CVE-2003-0013.
More information:

Two vulnerabilities have been discovered in Bugzilla, a web-based bug tracking system, by its authors. The Common Vulnerabilities and Exposures Project identifies the following vulnerabilities:

CAN-2003-0012 (BugTraq ID 6502)

The provided data collection script intended to be run as a nightly cron job changes the permissions of the data/mining directory to be world-writable every time it runs. This would enable local users to alter or delete the collected data.

CAN-2003-0013 (BugTraq ID 6501)

The default .htaccess scripts provided by do not block access to backups of the localconfig file that might be created by editors such as vi or emacs (typically these will have a .swp or ~ suffix). This allows an end user to download one of the backup copies and potentially obtain your database password.

This does not affect the Debian installation because there is no .htaccess as all data file aren't under the CGI path as they are on the standard Bugzilla package. Additionally, the configuration is in /etc/bugzilla/localconfig and hence outside of the web directory.

For the current stable distribution (woody) these problems have been fixed in version 2.14.2-0woody4.

The old stable distribution (potato) does not contain a Bugzilla package.

For the unstable distribution (sid) this problem will be fixed soon.

We recommend that you upgrade your bugzilla packages.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Architecture-independent component:

MD5 checksums of the listed files are available in the original advisory.