{"id":"CVE-2020-26252","published":"2021-01-20T21:55:13Z","modified":"2024-08-04T15:56:03Z","title":"Layout XML RCE Vulnerability in OpenMage","vendor":"OpenMage","product":"magento-lts","tier":"tail","description":{"text":"OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.6, there is a vulnerability which enables remote code execution. In affected versions an administrator with permission to update product data to be able to store an executable file on the server and load it via layout xml. The latest OpenMage Versions up from 19.4.10 and 20.0.6 have this issue solved.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02146,"percentile":0.82488,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-99m6-r53j-4hh2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3","tags":["x_refsource_MISC"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":16.5},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"openmage","affectedVersions":[{"vendor":"OpenMage","product":"magento-lts","versions":["< 19.4.10",">= 20, < 20.0.6"]}],"euvd":{"id":"EUVD-2020-18848","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openmage-magento-lts-cve-2020-26252","children":[{"from":"CVE-2020-26252","to":"CVE-2020-26295","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/code/core/Mage/Core/Model/Layout.php"],"commits":["https://github.com/OpenMage/magento-lts/commit/0786aa48bc7b618cfe37b59f45e1da3714c533c3","https://github.com/OpenMage/magento-lts/commit/9cf8c0aa1d1306051a18ace08d40279dadc1fb35"],"basis":"shared function","functions":["_generateAction"]},{"kind":"similar","provenance":"machine","score":0.76,"basis":"same product + CWE + description similarity"}]}]}}