The ebuild /usr/portage/www-misc/zoneminder/zoneminder-1.23.3.ebuild has the following: fperms 0644 /etc/zm.conf This allows any user to read the database user and password. I belive, it would better with: fperms 0640 /etc/zm.conf Reproducible: Always Steps to Reproduce: 1.Install ZoneMinder 2. 3. Actual Results: Any user can read the configuration. Expected Results: Only apache should read the username/password It's easy to correct (just do a chmod o-r /etc/zm.conf).
fixed in cvs. albeit without bumping the revision as I'm considering masking the package anyhow (see bug #236517). webapps done.
thanks, closing.
CVE-2008-6756 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-6756): ZoneMinder 1.23.3 on Gentoo Linux uses 0644 permissions for /etc/zm.conf, which allows local users to obtain the database username and password by reading this file.