Exploit database

Vulnerability

CVE-2013-3238

Vulnerability details

Score
6.0
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:S/C:P/I:P/A:P

Description

phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3 allows remote authenticated users to execute arbitrary code via a /e\x00 sequence, which is not properly handled before making a preg_replace function call within the "Replace table prefix" feature.

CVE Program

Exploit source choices

3 sources
phpMyAdmin Authenticated Remote Code Execution via preg_replace()
MSF-multi--http--phpmyadmin_preg_replaceMetasploitPHP / remote

This module exploits a PREG_REPLACE_EVAL vulnerability in phpMyAdmin's replace_prefix_tbl within libraries/mult_submits.inc.php via db_settings.php This affects versions 3.5.x < 3.5.8.1 and 4.0.0 < 4.0.0-rc3. PHP versions > 5.4.6 are not vulnerable.

2013-04-25phpmyadmin_preg_replace.rb