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.

Metasploit modules

phpMyAdmin Authenticated Remote Code Execution via preg_replace()
Source code queued for fetch โ€” refresh in a moment.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed0
debian debianbullseyefixed0
debian debiansidfixed0
debian debiantrixiefixed0

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.