{"id":"CVE-2020-26295","published":"2021-01-21T13:40:19Z","modified":"2024-08-04T15:56:03Z","title":"CMS Editor code execution","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.5, an administrator with permission to import/export data and to edit cms pages was able to inject an executable file on the server via layout xml. The latest OpenMage Versions up from 19.4.9 and 20.0.5 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.02239,"percentile":0.83205,"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/releases/tag/v19.4.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenMage/magento-lts/security/advisories/GHSA-52c6-6v3v-f3fg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenMage/magento-lts/commit/9cf8c0aa1d1306051a18ace08d40279dadc1fb35","tags":["x_refsource_MISC"]}],"priority":{"score":22.7,"factors":[{"name":"EPSS percentile","points":16.64},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"openmage","affectedVersions":[{"vendor":"OpenMage","product":"magento-lts","versions":["< 19.4.10",">= 20.0.0, < 20.0.6"]}],"euvd":{"id":"EUVD-2020-18857","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openmage-magento-lts-cve-2020-26252","parents":[{"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"}]}],"children":[{"from":"CVE-2020-26295","to":"CVE-2021-41144","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/code/core/Mage/Core/Block/Abstract.php"],"commits":["https://github.com/OpenMage/magento-lts/commit/9cf8c0aa1d1306051a18ace08d40279dadc1fb35","https://github.com/OpenMage/magento-lts/commit/06c45940ba3256cdfc9feea12a3c0ca56d23acf8"],"basis":"rarely changed file"}]}]}}