what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Mandriva Linux Security Advisory 2013-160

Mandriva Linux Security Advisory 2013-160
Posted May 3, 2013
Authored by Mandriva | Site mandriva.com

Mandriva Linux Security Advisory 2013-160 - An updated phpmyadmin package fixes multiple 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. 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 will treat this saved file as a.php script, leading to remote code execution.

tags | advisory, remote, web, arbitrary, php, vulnerability, code execution
systems | linux, mandriva
advisories | CVE-2013-3238, CVE-2013-3239
SHA-256 | 768d3d828b28c886594ff7bb01ff35caab0c6b267c92575a346fdf2e220d098b

Mandriva Linux Security Advisory 2013-160

Change Mirror Download
-----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
<security*mandriva.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFRg4+pmqjQ0CJFipgRAp5iAKC+oK84BQEO1J/8bO3BYFtEig+LbACePE4/
Bmb+BhEPMBhki/IJAbt5bMk=
=apDQ
-----END PGP SIGNATURE-----


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close