CVE-2013-3238

medium
Published 2013-04-26 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-25003 webapps php verified
waraxe ยท 2013-04-25

phpMyAdmin 3.5.8/4.0.0-RC2 - Multiple Vulnerabilities

Source code queued for fetch โ€” refresh in a moment.
EDB-25136 remote php verified
Metasploit ยท 2013-05-01

phpMyAdmin - 'preg_replace' (Authenticated) Remote Code Execution (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

phpMyAdmin Authenticated Remote Code Execution via preg_replace()
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

debian Debian Fixed 4 releases
VersionStatusFixed in
trixie Fixed 0
sid Fixed 0
bullseye Fixed 0
bookworm Fixed 0

Application impact

VendorProductVersionsFixed
phpmyadminphpmyadmin3.5.0.0
phpmyadminphpmyadmin3.5.1.0
phpmyadminphpmyadmin3.5.2.0
phpmyadminphpmyadmin3.5.2.1
phpmyadminphpmyadmin3.5.2.2
phpmyadminphpmyadmin3.5.3.0
phpmyadminphpmyadmin3.5.4
phpmyadminphpmyadmin3.5.5
phpmyadminphpmyadmin3.5.6
phpmyadminphpmyadmin3.5.7
phpmyadminphpmyadmin3.5.8
phpmyadminphpmyadmin4.0.0

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.