-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 _______________________________________________________________________ Mandriva Linux Security Advisory MDVSA-2013:160 http://www.mandriva.com/en/support/security/ _______________________________________________________________________ Package : phpmyadmin Date : May 3, 2013 Affected: Business Server 1.0 _______________________________________________________________________ Problem Description: Updated phpmyadmin package fixes security vulnerabilities: In some PHP versions, the preg_replace\(\) function can be tricked into executing arbitrary PHP code on the server. This is done by passing a crafted argument as the regular expression, containing a null byte. phpMyAdmin does not correctly sanitize an argument passed to preg_replace\(\) when using the Replace table prefix feature, opening the way to this vulnerability (CVE-2013-3238). phpMyAdmin can be configured to save an export file on the web server, via its SaveDir directive. With this in place, it's possible, either via a crafted filename template or a crafted table name, to save a double extension file like foobar.php.sql. In turn, an Apache webserver on which there is no definition for the MIME type sql (the default) will treat this saved file as a .php script, leading to remote code execution (CVE-2013-3239). _______________________________________________________________________ References: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3238 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-3239 https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133 _______________________________________________________________________ Updated Packages: Mandriva Business Server 1/X86_64: d78888a27ad48ca81ce02179da8bb0bc mbs1/x86_64/phpmyadmin-3.5.8.1-0.1.mbs1.noarch.rpm 4a829064432e63a653c9cca52236334e mbs1/SRPMS/phpmyadmin-3.5.8.1-0.1.mbs1.src.rpm _______________________________________________________________________ To upgrade automatically use MandrivaUpdate or urpmi. The verification of md5 checksums and GPG signatures is performed automatically for you. All packages are signed by Mandriva for security. You can obtain the GPG public key of the Mandriva Security Team by executing: gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98 You can view other update advisories for Mandriva Linux at: http://www.mandriva.com/en/support/security/advisories/ If you want to report vulnerabilities, please contact security_(at)_mandriva.com _______________________________________________________________________ Type Bits/KeyID Date User ID pub 1024D/22458A98 2000-07-10 Mandriva Security Team -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFRg4+pmqjQ0CJFipgRAp5iAKC+oK84BQEO1J/8bO3BYFtEig+LbACePE4/ Bmb+BhEPMBhki/IJAbt5bMk= =apDQ -----END PGP SIGNATURE-----