[Pkg-dspam-misc] Bug#448519: libdspam7-drv-mysql: cron job may disclose dspam database password to users
Tobias Gruetzmacher
tobias at portfolio16.de
Mon Oct 29 19:01:04 UTC 2007
Package: libdspam7-drv-mysql
Version: 3.6.8-5
Severity: grave
Tags: security
Justification: user security hole
The cron job in /etc/cron.daily/libdspam7-drv-mysql calls mysql like
this:
/usr/bin/mysql --user=$MYSQL_USER --password=$MYSQL_PASS
This makes the database password of the dspam database user visible in
the command line, so users may see it using ps. A malicious local user
can use this to connect to the dspam databse and read all recent mail of
dspam users. This bug is easily fixed my using a config file or
environment variable to pass the password to mysql.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-5-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages libdspam7-drv-mysql depends on:
ii dbconfig-common 1.8.29+etch1 common framework for packaging dat
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libdspam7 3.6.8-5 DSPAM is a scalable and statistica
ii libldap2 2.1.30-13.3 OpenLDAP libraries
ii libmysqlclient15off 5.0.32-7etch1 mysql database client library
ii mysql-client-5.0 [mysq 5.0.32-7etch1 mysql database client binaries
ii ucf 2.0020 Update Configuration File: preserv
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages libdspam7-drv-mysql recommends:
ii mysql-server-5.0 [mysql-se 5.0.32-7etch1 mysql database server binaries
-- debconf information excluded
More information about the Pkg-dspam-misc
mailing list