CVE-2013-3238
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,…
- 6.0MediumCVSS base score
- 28.9%Exploitation in 30 daysEPSS · top 1.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 2 Exploit-DB entries for it. A reference of the record is tagged as an exploit.
Show the exploits4
Metasploit modules1 module
- phpMyAdmin Authenticated Remote Code Execution via preg_replace() (Metasploit module) (opens in a new tab)
exploit/multi/http/phpmyadmin_preg_replaceRank excellentdisclosed 25 Apr 2013
Exploit-DB2 entries
- phpMyAdmin - 'preg_replace' (Authenticated) Remote Code Execution (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 25136remote, phppublished 1 May 2013Verified
- phpMyAdmin 3.5.8/4.0.0-RC2 - Multiple Vulnerabilities (Exploit-DB entry) (opens in a new tab)
EDB-ID 25003webapps, phppublished 25 Apr 2013Verified
References tagged exploit1 reference
- 25136 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 4 days later
· 4 days later
Published
- 11 years later
· 11 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 28.9% · top 1.8% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Affected products
n/a
- affected n/a
References
11
- MDVSA-2013:160 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 20130424 [waraxe-2013-SA#103] - Multiple Vulnerabilities in phpMyAdmin (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- FEDORA-2013-6928 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- 25136 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- openSUSE-SU-2013:1065 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- FEDORA-2013-6977 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2013-7000 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://github.com/phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-2.php (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2013-3176 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2013-3238)Record last updated .