{
    "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"
        }
    ]
}