(Conectiva Issues Fix) Bugzilla Insecure Temporary File Processing May Let Local Users Gain Elevated Privileges
|
|
SecurityTracker Alert ID: 1006825 |
|
SecurityTracker URL: http://securitytracker.com/id/1006825
|
|
CVE Reference:
CVE-2003-0603
(Links to External Site)
|
Updated: Oct 1 2007
|
Original Entry Date: May 23 2003
|
Impact:
Modification of system information, Modification of user information, User access via local system
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 2.16.3 and prior versions; 2.17.4 and prior versions
|
Description:
A vulnerability was reported in the Bugzilla bug tracking system. A local user may be able to obtain elevated privileges on the system.
It is reported that Bugzilla creates temporary files in some world-writable or group-writable directories without checking to see if the filename already exists or not. A local user can create a symbolic link from the temporary file name to another critical file on the system. Then, when Bugzilla runs, Bugzilla will overwrite the linked file and then may eventually delete the linked file. A local user may be able to exploit this to gain elevated privileges on the system.
According to the vendor, the showdependancygraph.cgi and GenerateVersionTable function is affected.
The vendor credits Jonathan Schatz with discovering this flaw.
|
Impact:
A local user can cause Bugzilla to overwrite and possibly delete files on the system with the privileges of the Bugzilla process.
|
Solution:
Conectiva has released a fix.
ftp://atualizacoes.conectiva.com.br/9/SRPMS/bugzilla-2.16.3-29154U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/perl-timedate-1.14-27918U90_3cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/bugzilla-2.16.3-29154U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/bugzilla-doc-2.16.3-29154U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/perl-timedate-1.14-27918U90_3cl.i386.rpm
The vendor indicates that after the upgrade, you should run the following bugzilla script:
/srv/www/default/html/bugzilla/checksetup.pl
Also, because the Conectiva update introduces two new dependencies to the bugzilla packge (perl-doc and perl-timedate >= 1.14), the vendor recommends using the following command to install the new versions of these packages:
apt-get install bugzilla
If perl-doc or perl-timedate >= 1.14 are not installed, "apt-get upgrade" will not upgrade bugzilla.
|
Vendor URL: www.bugzilla.org/security/2.16.2/ (Links to External Site)
|
Cause:
Access control error, State error
|
Underlying OS:
Linux (Conectiva)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Wed, 21 May 2003 17:05:14 -0300
Subject: [conectiva-updates] [CLA-2003:653] Conectiva Security Announcement - bugzilla
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : bugzilla
SUMMARY : Cross site scripting and temporary file vulnerabilities
DATE : 2003-05-21 17:04:00
ID : CLA-2003:653
RELEVANT
RELEASES : 9
- -------------------------------------------------------------------------
DESCRIPTION
Bugzilla[1] is a bug tracking system used by many software projects.
This update fixes the following problems with the bugzilla package
shipped with Conectiva Linux 9:
1. New dependencies
The bugzilla package provided via this update has the following new
dependencies:
- perl-doc[3];
- perl-timedate >= 1.14: bugzilla needs a newer version[4] of the
perl-timedate package than the one shipped with Conectiva Linux 9.
2. Cross site scripting vulnerabilities[2]
Cross site scripting vulnerabilities have been found in the template
system and in the dependency graphs which show dependency
relationships between bugs (not enabled by default). These have been
fixed in bugzilla 2.16.3.
3. Temporary file vulnerability[2]
Several scripts create insecure temporary files. A local attacker
could attempt, with the privileges of the "www" user and via symlink
attacks, to overwrite or alter files in the system. This
vulnerability has also been fixed in bugzilla 2.16.3.
SOLUTION
It is recommended that all bugzilla users upgrade their packages.
IMPORTANT: after the upgrade, please run the following bugzilla
script:
/srv/www/default/html/bugzilla/checksetup.pl
This script will make all necessary adjustments for this upgrade as
well as alert about possible problems.
NOTE: since this update introduces two new dependencies to the
bugzilla packge (perl-doc and perl-timedate >= 1.14), we recommend
the following command to install the new versions of these packages:
apt-get install bugzilla
Otherwise, if perl-doc or perl-timedate >= 1.14 are not installed,
"apt-get upgrade" will not upgrade bugzilla.
REFERENCES
1. http://www.bugzilla.org/
2. http://www.bugzilla.org/security/2.16.2/
3. http://bugzilla.conectiva.com.br/show_bug.cgi?id=8338
4. http://bugzilla.mozilla.org/show_bug.cgi?id=200472
UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/9/SRPMS/bugzilla-2.16.3-29154U90_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/perl-timedate-1.14-27918U90_3cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/bugzilla-2.16.3-29154U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/bugzilla-doc-2.16.3-29154U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/perl-timedate-1.14-27918U90_3cl.i386.rpm
ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:
- run: apt-get update
- after that, execute: apt-get upgrade
Detailed instructions reagarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en
- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
- -------------------------------------------------------------------------
Copyright (c) 2003 Conectiva Inc.
http://www.conectiva.com
- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+y9v542jd0JmAcZARAjSRAJ9OnqnHWsCCE8Q2y1ZjRUtTs2ItHwCfVqcZ
YfPRRbKBrbHcDvZacNAimGk=
=TDZv
-----END PGP SIGNATURE-----
|
|