CVE-2013-3238 json
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, w…
published 13y ago modified 4mo ago also EUVD-2013-3176
- cvss
- 6.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 28.9%
- EPSS 28.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 3
- Metasploit and Exploit-DB
Summary
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.
Patch / fix
- phpMyAdmin openSUSE Tumbleweed 4.6.5.2-1.1
opensuse advisories openSUSE-SU-2024:10054-1
Is CVE-2013-3238 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-3238 updated cvss 5.5
phpMyAdmin: remote code execution via preg_replace() (PMASA-2013-2)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/multi/http/phpmyadmin_preg_replace)
- Published
Exploit prediction
28.85% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/phpmyadmin_preg_replace phpMyAdmin Authenticated Remote Code Execution via preg_replace() metasploit exploit, excellent rank, 2013-04-25
- EDB-25136 phpMyAdmin - 'preg_replace' (Authenticated) Remote Code Execution (Metasploit) remote, 2013-05-01
- EDB-25003 phpMyAdmin 3.5.8/4.0.0-RC2 - Multiple Vulnerabilities webapps, 2013-04-25
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
References
- github.com /phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66
- github.com /phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549
-
exploit-db.com
/exploits/25136
exploit
-
mandriva.com
/security/advisories?name=MDVSA-2013:160
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-May/104936.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2013-06/msg00181.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-May/104770.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2013-May/104725.html
vendor-advisory
-
archives.neohapsis.com
/archives/bugtraq/2013-04/0217.html
mailing-list
- wiki.mageia.org /en/Support/Advisories/MGASA-2013-0133
- phpmyadmin.net /home_page/security/PMASA-2013-2.php
Sources
- CVE List CVE-2013-3238
- NVD CVE-2013-3238
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.