{"schemaVersion":3,"id":"CVE-2013-3238","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-04-26T01:00:00.000Z","modified":"2024-08-06T16:00:10.156Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.28851,"percentile":0.9815,"severity":"high","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.28851},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.28851,"percentile":0.9815}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.28851,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.28851,"percentile":0.9815}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_MULTI_HTTP_PHPMYADMIN_PREG_REPLACE","name":"phpMyAdmin Authenticated Remote Code Execution via preg_replace()","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/http/phpmyadmin_preg_replace.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":true,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/http/phpmyadmin_preg_replace","rank":"600","rankName":"excellent","postAuth":true,"check":true,"stability":["crash-safe"],"sideEffects":[],"reliability":[]}},{"id":"25136","name":"phpMyAdmin - 'preg_replace' (Authenticated) Remote Code Execution (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/25136","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"php","file":"exploits/php/remote/25136.rb","codes":["CVE-2013-3238","OSVDB-92793"]},"metasploit":null},{"id":"25003","name":"phpMyAdmin 3.5.8/4.0.0-RC2 - Multiple Vulnerabilities","source":"exploit-database","url":"https://www.exploit-db.com/exploits/25003","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"webapps","platform":"php","file":"exploits/php/webapps/25003.txt","codes":["CVE-2013-3241","CVE-2013-3240","CVE-2013-3239","CVE-2013-3238","OSVDB-92795","OSVDB-92794","OSVDB-92793","OSVDB-92792"]},"metasploit":null}],"exploitCount":3,"weaknesses":[],"affected":[{"vendor":"phpmyadmin","product":"phpmyadmin","name":"phpMyAdmin","label":"phpmyadmin","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.5.0.0","noFixRecorded":false,"fixedIn":null},{"text":"3.5.1.0","noFixRecorded":false,"fixedIn":null},{"text":"3.5.2.0","noFixRecorded":false,"fixedIn":null},{"text":"3.5.2.1","noFixRecorded":false,"fixedIn":null},{"text":"3.5.2.2","noFixRecorded":false,"fixedIn":null},{"text":"3.5.3.0","noFixRecorded":false,"fixedIn":null},{"text":"3.5.4","noFixRecorded":false,"fixedIn":null},{"text":"3.5.5","noFixRecorded":false,"fixedIn":null},{"text":"3.5.6","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7","noFixRecorded":false,"fixedIn":null},{"text":"3.5.7:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.5.8:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.0.0:rc2","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.5.0.0 | 3.5.1.0 | 3.5.2.0 | 3.5.2.1 | 3.5.2.2 | 3.5.3.0 | 3.5.4 | 3.5.5 | 3.5.6 | 3.5.7 | 3.5.7:rc1 | 3.5.8:rc1 | 4.0.0:rc2","eol":{"isEol":true,"eolDate":"2017-04-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4.0","label":"4.0 (LTS)","eolFrom":"2017-04-01T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"4.0.10.20"},"product":{"name":"phpmyadmin","label":"phpMyAdmin","category":"server-app"}},"hubHref":"/vendor/phpmyadmin/phpmyadmin"}],"affectedCount":1,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:160","label":"www.mandriva.com/security/advisories?name=MDVSA-2013:160","hostname":"www.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2013-04/0217.html","label":"archives.neohapsis.com/archives/bugtraq/2013-04/0217.html","hostname":"archives.neohapsis.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html","label":"lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://www.exploit-db.com/exploits/25136","label":"www.exploit-db.com/exploits/25136","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-06/msg00181.html","label":"lists.opensuse.org/opensuse-updates/2013-06/msg00181.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html","label":"lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html","label":"lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66","label":"github.com/phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549","label":"github.com/phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133","label":"wiki.mageia.org/en/Support/Advisories/MGASA-2013-0133","hostname":"wiki.mageia.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.phpmyadmin.net/home_page/security/PMASA-2013-2.php","label":"www.phpmyadmin.net/home_page/security/PMASA-2013-2.php","hostname":"www.phpmyadmin.net","tags":["X Refsource CONFIRM"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:10054-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10054-1"]},"timeline":[{"kind":"published","date":"2013-04-26T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T16:00:10.156Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:38:59.513Z","stale":false,"partial":false}}