CVE-2013-3238
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
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Metasploit modules
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| phpmyadmin | phpmyadmin | 3.5.0.0 | |
| phpmyadmin | phpmyadmin | 3.5.1.0 | |
| phpmyadmin | phpmyadmin | 3.5.2.0 | |
| phpmyadmin | phpmyadmin | 3.5.2.1 | |
| phpmyadmin | phpmyadmin | 3.5.2.2 | |
| phpmyadmin | phpmyadmin | 3.5.3.0 | |
| phpmyadmin | phpmyadmin | 3.5.4 | |
| phpmyadmin | phpmyadmin | 3.5.5 | |
| phpmyadmin | phpmyadmin | 3.5.6 | |
| phpmyadmin | phpmyadmin | 3.5.7 | |
| phpmyadmin | phpmyadmin | 3.5.8 | |
| phpmyadmin | phpmyadmin | 4.0.0 | |
References
- http://archives.neohapsis.com/archives/bugtraq/2013-04/0217.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html
- http://lists.opensuse.org/opensuse-updates/2013-06/msg00181.html
- http://www.exploit-db.com/exploits/25136
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:160
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-2.php
- https://github.com/phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549
- https://github.com/phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133
- https://security-tracker.debian.org/tracker/CVE-2013-3238
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.