{"api_version":"1","generated_at":"2026-04-30T07:30:19+00:00","cve":"CVE-2018-12613","urls":{"html":"https://cve.report/CVE-2018-12613","api":"https://cve.report/api/cve/CVE-2018-12613.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12613","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12613"},"summary":{"title":"CVE-2018-12613","description":"An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the \"$cfg['AllowArbitraryServer'] = true\" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the \"$cfg['ServerDefault'] = 0\" case (which bypasses the login requirement and runs the vulnerable code without any authentication).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-06-21 20:29:00","updated_at":"2021-11-02 17:59:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html","name":"http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html","refsource":"MISC","tags":[],"title":"phpMyAdmin 4.8.1 Remote Code Execution ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.exploit-db.com/exploits/44924/","name":"44924","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1) - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/104532","name":"104532","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"phpMyAdmin CVE-2018-12613 Remote File Inclusion Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.phpmyadmin.net/security/PMASA-2018-4/","name":"https://www.phpmyadmin.net/security/PMASA-2018-4/","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"phpMyAdmin - Security - PMASA-2018-4","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201904-16","name":"GLSA-201904-16","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"phpMyAdmin: Multiple vulnerabilities (GLSA 201904-16) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/45020/","name":"45020","refsource":"EXPLOIT-DB","tags":["Exploit","Third Party Advisory","VDB Entry"],"title":"phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit) - PHP remote Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/44928/","name":"44928","refsource":"EXPLOIT-DB","tags":["Third Party Advisory","VDB Entry"],"title":"phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2) - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12613","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12613","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"12613","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpmyadmin","cpe5":"phpmyadmin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12613","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpmyadmin","cpe5":"phpmyadmin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-12613","qid":"501151","title":"Alpine Linux Security Update for phpmyadmin"},{"cve":"CVE-2018-12613","qid":"690258","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for phpmyadmin (17cb6ff3-7670-11e8-8854-6805ca0b3d42)"},{"cve":"CVE-2018-12613","qid":"710168","title":"Gentoo Linux phpMyAdmin Multiple vulnerabilities (GLSA 201904-16)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12613","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the \"$cfg['AllowArbitraryServer'] = true\" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the \"$cfg['ServerDefault'] = 0\" case (which bypasses the login requirement and runs the vulnerable code without any authentication)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.phpmyadmin.net/security/PMASA-2018-4/","refsource":"CONFIRM","url":"https://www.phpmyadmin.net/security/PMASA-2018-4/"},{"name":"45020","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/45020/"},{"name":"104532","refsource":"BID","url":"http://www.securityfocus.com/bid/104532"},{"name":"44924","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44924/"},{"name":"44928","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44928/"},{"refsource":"GENTOO","name":"GLSA-201904-16","url":"https://security.gentoo.org/glsa/201904-16"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html","url":"http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html"}]}},"nvd":{"publishedDate":"2018-06-21 20:29:00","lastModifiedDate":"2021-11-02 17:59:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8.0","versionEndExcluding":"4.8.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"12613","Ordinal":"129185","Title":"CVE-2018-12613","CVE":"CVE-2018-12613","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"12613","Ordinal":"1","NoteData":"An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the \"$cfg['AllowArbitraryServer'] = true\" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the \"$cfg['ServerDefault'] = 0\" case (which bypasses the login requirement and runs the vulnerable code without any authentication).","Type":"Description","Title":null},{"CveYear":"2018","CveId":"12613","Ordinal":"2","NoteData":"2018-06-21","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"12613","Ordinal":"3","NoteData":"2021-10-25","Type":"Other","Title":"Modified"}]}}}