{"api_version":"1","generated_at":"2026-07-24T01:47:44+00:00","cve":"CVE-2021-21015","urls":{"html":"https://cve.report/CVE-2021-21015","api":"https://cve.report/api/cve/CVE-2021-21015.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21015","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21015"},"summary":{"title":"CVE-2021-21015","description":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.","state":"PUBLIC","assigner":"psirt@adobe.com","published_at":"2021-02-11 20:15:00","updated_at":"2023-11-07 03:29:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-08.html","name":"https://helpx.adobe.com/security/products/magento/apsb21-08.html","refsource":"MISC","tags":["Vendor Advisory"],"title":"Adobe Security Bulletin","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21015","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21015","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.3.6","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.3.6","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.3.6","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.3.6","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.0","cpe7":"p1","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"commerce","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"21015","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"magento","cpe5":"magento","cpe6":"2.4.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"open_source","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-21015","qid":"996618","title":"PHP (Composer) Security Update for magento/community-edition (GHSA-w2p4-2c8c-2g7h)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"psirt@adobe.com","DATE_PUBLIC":"2021-02-09T23:00:00.000Z","ID":"CVE-2021-21015","STATE":"PUBLIC","TITLE":"Magento Commerce Unauthorized Data Modification Could Lead to Arbitrary Code Execution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Magento Commerce","version":{"version_data":[{"version_affected":"<=","version_value":"2.4.1"},{"version_affected":"<=","version_value":"2.4.0-p1"},{"version_affected":"<=","version_value":"2.3.6"},{"version_affected":"<=","version_value":"None"}]}}]},"vendor_name":"Adobe"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation."}]},"impact":{"cvss":{"attackComplexity":"None","attackVector":"None","availabilityImpact":"None","baseScore":9.1,"baseSeverity":"Critical","confidentialityImpact":"None","integrityImpact":"None","privilegesRequired":"None","scope":"None","userInteraction":"None","vectorString":"CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://helpx.adobe.com/security/products/magento/apsb21-08.html","name":"https://helpx.adobe.com/security/products/magento/apsb21-08.html"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2021-02-11 20:15:00","lastModifiedDate":"2023-11-07 03:29:00","problem_types":["CWE-78"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:C/I:C/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":8.5},"severity":"HIGH","exploitabilityScore":6.8,"impactScore":10,"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:magento:magento:*:*:*:*:commerce:*:*:*","versionEndExcluding":"2.3.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*","versionEndExcluding":"2.3.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.1:-:*:*:open_source:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.1:-:*:*:commerce:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.0:-:*:*:open_source:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.0:p1:*:*:open_source:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.0:-:*:*:commerce:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.4.0:p1:*:*:commerce:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.3.6:-:*:*:open_source:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:magento:magento:2.3.6:-:*:*:commerce:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"21015","Ordinal":"195085","Title":"CVE-2021-21015","CVE":"CVE-2021-21015","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"21015","Ordinal":"1","NoteData":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to an OS command injection via the customer attribute save controller. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"21015","Ordinal":"2","NoteData":"2021-02-11","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"21015","Ordinal":"3","NoteData":"2021-02-11","Type":"Other","Title":"Modified"}]}}}