From secure@conectiva.com.br Sun Jan 20 05:08:41 2002 From: secure@conectiva.com.br To: conectiva-updates@papaleguas.conectiva.com.br, lwn@lwn.net, bugtraq@securityfocus.com, security-alerts@linuxsecurity.com Date: Fri, 18 Jan 2002 16:17:54 -0200 Subject: [CLA-2002:455] Conectiva Linux Security Announcement - MySQL -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -------------------------------------------------------------------------- CONECTIVA LINUX SECURITY ANNOUNCEMENT - -------------------------------------------------------------------------- PACKAGE : MySQL SUMMARY : MySQL log file with world-readable permissions DATE : 2002-01-18 16:14:00 ID : CLA-2002:455 RELEVANT RELEASES : 5.0, 5.1, 6.0 - ------------------------------------------------------------------------- DESCRIPTION MySQL is a very popular SQL database which is shipped by many linux distributions. The package shipped with Conectiva Linux 6.0 and older logs by default all queries made to the database to the /var/log/mysql file. This includes user creation, password changes via SQL commands and other queries. Our package incorrectly leaves the permissions of this file as world-readable (0644), thus allowing any user on the system access to potentially sensitive information. We believe this vulnerability[1,4] to be exclusive to our distribution of this package. Additionally, a few other problems[2,3] are also fixed in this update. Specifically: - logrotate now correctly restarts the server and rotates the logs. Previous packages failed to do that and the log file would just keep growing. - logging is now configurable via the /etc/sysconfig/mysql file. The default still has logging enabled, though. SOLUTION We recommend that all MySQL users upgrade their packages. If an upgrade cannot be made at this time, please change the permissions of the log file manually: chmod 600 /var/log/mysql* chown mysql.mysql /var/log/mysql* REFERENCES 1. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=4201 2. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=4220 3. http://distro.conectiva.com.br/bugzilla/show_bug.cgi?id=3674 4. http://distro.conectiva.com.br/pipermail/seguranca/2001-August/001870.html DIRECT DOWNLOAD LINKS TO THE UPDATED PACKAGES ftp://atualizacoes.conectiva.com.br/5.0/SRPMS/MySQL-3.23.36-14U50_1cl.src.rpm ftp://atualizacoes.conectiva.com.br/5.0/i386/MySQL-3.23.36-14U50_1cl.i386.rpm ftp://atualizacoes.conectiva.com.br/5.1/SRPMS/MySQL-3.23.36-14U51_1cl.src.rpm ftp://atualizacoes.conectiva.com.br/5.1/i386/MySQL-3.23.36-14U51_1cl.i386.rpm ftp://atualizacoes.conectiva.com.br/6.0/SRPMS/MySQL-3.23.36-14U60_1cl.src.rpm ftp://atualizacoes.conectiva.com.br/6.0/RPMS/MySQL-3.23.36-14U60_1cl.i386.rpm ADDITIONAL INSTRUCTIONS Users of Conectiva Linux version 6.0 or higher may use apt to perform upgrades of RPM packages: - add the following line to /etc/apt/sources.list if it is not there yet (you may also use linuxconf to do this): rpm [cncbr] ftp://atualizacoes.conectiva.com.br 6.0/conectiva updates (replace 6.0 with the correct version number if you are not running CL6.0) - 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 - ------------------------------------------------------------------------- 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 iD8DBQE8SGbR42jd0JmAcZARAkN9AKDZBcA0+boe7nwmyg/06MWtavd+oACgrzGK l9Q9ap2jT/qs06OWjHsFZsQ= =sZ/e -----END PGP SIGNATURE-----