{"api_version":"1","generated_at":"2026-05-18T12:39:43+00:00","cve":"CVE-2021-23394","urls":{"html":"https://cve.report/CVE-2021-23394","api":"https://cve.report/api/cve/CVE-2021-23394.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23394","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23394"},"summary":{"title":"CVE-2021-23394","description":"The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. NOTE: This only applies if the server parses .phar files as PHP.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-06-13 11:15:00","updated_at":"2022-11-09 03:32:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1","name":"N/A","refsource":"CONFIRM","tags":[],"title":"[VD:abstract] add `'phar:*' => 'text/x-php'` into 'staticMineMap' · Studio-42/elFinder@75ea92d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Invalid vulnerability","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://github.com/Studio-42/elFinder","name":"N/A","refsource":"CONFIRM","tags":[],"title":"GitHub - Studio-42/elFinder: ???? Open-source file manager for web, written in JavaScript using jQuery and jQuery UI","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Studio-42/elFinder/issues/3295","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Remote Code Execution in elFinder 2.1.57 · Issue #3295 · Studio-42/elFinder · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/","name":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/","refsource":"MISC","tags":[],"title":"elFinder - A Case Study of Web File Manager Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23394","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23394","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Ashok Chand","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"23394","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"std42","cpe5":"elfinder","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-06-13T11:04:16.217664Z","ID":"CVE-2021-23394","STATE":"PUBLIC","TITLE":"Remote Code Execution (RCE)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"studio-42/elfinder","version":{"version_data":[{"version_affected":"<","version_value":"2.1.58"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Remote Code Execution (RCE)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554","name":"https://snyk.io/vuln/SNYK-PHP-STUDIO42ELFINDER-1290554"},{"refsource":"MISC","url":"https://github.com/Studio-42/elFinder","name":"https://github.com/Studio-42/elFinder"},{"refsource":"MISC","url":"https://github.com/Studio-42/elFinder/issues/3295","name":"https://github.com/Studio-42/elFinder/issues/3295"},{"refsource":"MISC","url":"https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1","name":"https://github.com/Studio-42/elFinder/commit/75ea92decc16a5daf7f618f85dc621d1b534b5e1"},{"refsource":"MISC","name":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/","url":"https://blog.sonarsource.com/elfinder-case-study-of-web-file-manager-vulnerabilities/"}]},"description":{"description_data":[{"lang":"eng","value":"The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. NOTE: This only applies if the server parses .phar files as PHP."}]},"impact":{"cvss":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},"credit":[{"lang":"eng","value":"Ashok Chand"}]},"nvd":{"publishedDate":"2021-06-13 11:15:00","lastModifiedDate":"2022-11-09 03:32:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"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:std42:elfinder:*:*:*:*:*:*:*:*","versionEndExcluding":"2.1.58","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23394","Ordinal":"198121","Title":"CVE-2021-23394","CVE":"CVE-2021-23394","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23394","Ordinal":"1","NoteData":"The package studio-42/elfinder before 2.1.58 are vulnerable to Remote Code Execution (RCE) via execution of PHP code in a .phar file. NOTE: This only applies if the server parses .phar files as PHP.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"23394","Ordinal":"2","NoteData":"2021-06-13","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"23394","Ordinal":"3","NoteData":"2021-06-13","Type":"Other","Title":"Modified"}]}}}