{"id":47,"date":"2018-02-28T00:44:38","date_gmt":"2018-02-28T00:44:38","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2018\/02\/28\/install-magento-supee-10570-with-or-without-ssh\/"},"modified":"2025-09-01T10:47:01","modified_gmt":"2025-09-01T05:17:01","slug":"install-magento-supee-10570-with-or-without-ssh","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/install-magento-supee-10570-with-or-without-ssh\/","title":{"rendered":"How to Install Magento SUPEE 10570 V2 With or Without SSH"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>March 28, 2018:<\/strong>&nbsp;Magento was recently informed about an issue with both patch SUPEE-10570 and Magento versions 1.9.3.8\/1.14.3.8 that could result in the inability of customers to complete checkout when trying to register during checkout. Magento is now providing an updated patch (<strong>SUPEE-10570 v2<\/strong>) that no longer causes this issue. Note, however, that this new patch no longer protects against two low risk session handling-related security issues that patch SUPEE-10570 protected against.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">If you have not yet applied SUPEE-10570v1, do not apply it, but instead patch your store with SUPEE-10570v2.&nbsp;<strong>If you have already applied SUPEE-10570v1, please first&nbsp;uninstall&nbsp;SUPEE-10570v1, then install SUPEE-10570v2.<\/strong>&nbsp;All stores should be patched with SUPEE-10570v2 as Magento will use this patch as a base for future patch versions. (<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/release\/notes\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Source<\/a>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Magento&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/release\/notes\/overview\" rel=\"noreferrer noopener\" target=\"_blank\">released<\/a>&nbsp;<em><strong>SUPEE-10570<\/strong><\/em>&nbsp;which contains multiple security enhancements that help close remote code execution (RCE), cross-site scripting(XSS), and other issues. Immediately install SUPEE-10570 in your Magento store to safeguard it from potential vulnerabilities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With nearing of&nbsp;<a href=\"https:\/\/business.adobe.com\/products\/magento\/magento-commerce.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 1 end of life<\/a>, it is strongly recommended to migrate to the latest&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/magento-2-4-8\/\">Magento 2.4.8<\/a>&nbsp;&nbsp;rather than installing&nbsp;<em><strong>Magento SUPEE-10570<\/strong><\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installation process for SUPEE 10570:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Normally, there are 2 ways to install Magento Supee patches:&nbsp;with SSH&nbsp;or&nbsp;without SSH. , Here I\u2019ve come up with both the methods to ease your knowledge.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Install SUPEE 10570 using SSH:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you don\u2019t know how to set up SSH, contact your hosting provider. Download&nbsp;<em>SUPEE 10570<\/em>&nbsp;Patches files for your Magento Version from&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/installation-guide\/overview\" rel=\"noreferrer noopener\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Upload the patch into your Magento root directory and run the appropriate SSH command:<br><strong>For .sh file extension:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh patch_file_name.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh PATCH_SUPEE-10570_CE_v1.9.3.2-1.9.3.7_v1-2018-02-23-06-01-40.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For .patch file extension:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>patch \u2014p0 &lt; patch_file_name.patch<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For Linux OS or Ubuntu derived machines:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On Linux OS or Ubuntu derived machines, using&nbsp;<strong>sh<\/strong>&nbsp;will throw an error as&nbsp;<strong>sh<\/strong>&nbsp;is supposed to be used only with purely POSIX compliant scripts and Magento scripts are not 100%&nbsp;POSIX compliant. Instead, on Ubuntu&nbsp;and derived OSes such as Linux Mint, you should use<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bash patch.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note: Once execute the command, refresh the cache in the Admin under \u201cSystem &gt; Cache Management\u201d so that the changes can be reflected. We strongly recommend that you test all patches in a test environment before taking them live.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Install SUPEE 10570 with PrePatched Files [without SSH method]:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download the zip file for your Magento Version for the patch installation. You can also download these&nbsp;<a href=\"https:\/\/github.com\/MeetanshiInc\/Magento-Security-Patches-PrePatched-Files\/tree\/master\/SUPEE-10570\/V2\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pre Patched files from GitHub<\/a>. After downloading the files, just upload it to your Magento root folder.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Magento version<\/strong><\/th><th><strong>SUPEE-10570 v2<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Magento 1.9.3.8<\/td><td>SUPEE-10570v2-1.9.3.8<\/td><\/tr><tr><td>Magento 1.9.3.7<\/td><td>SUPEE-10570v2-1.9.3.7<\/td><\/tr><tr><td>Magento 1.9.3.1<\/td><td>SUPEE-10570v2-1.9.3.1<\/td><\/tr><tr><td>Magento 1.9.2.4<\/td><td>SUPEE-10570v2-1.9.2.4<\/td><\/tr><tr><td>Magento 1.9.2.3<\/td><td>SUPEE-10570v2-1.9.2.3<\/td><\/tr><tr><td>Magento 1.9.2.2<\/td><td>SUPEE-10570v2-1.9.2.2<\/td><\/tr><tr><td>Magento 1.9.1.1<\/td><td>SUPEE-10570v2-1.9.1.1<\/td><\/tr><tr><td>Magento 1.9.0.1<\/td><td>SUPEE-10570v2-1.9.0.1<\/td><\/tr><tr><td>Magento 1.8.0.0<\/td><td>SUPEE-10570v2-1.8.0.0<\/td><\/tr><tr><td>Magento 1.7.0.2<\/td><td>SUPEE-10570v2-1.7.0.2<\/td><\/tr><tr><td>Magento 1.7.0.0<\/td><td>SUPEE-10570v2-1.7.0.0<\/td><\/tr><tr><td>Magento 1.6.2.0<\/td><td>SUPEE-10570v2-1.6.2.0<\/td><\/tr><tr><td>Magento 1.6.0.0<\/td><td>SUPEE-10570v2-1.6.0.0<\/td><\/tr><tr><td>Magento 1.5.1.0<\/td><td>SUPEE-10570v2-1.5.1.0<\/td><\/tr><tr><td>Magento 1.5.0.1<\/td><td>SUPEE-10570v2-1.5.0.1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"PossibleIssues\">Possible Issues You might face while Installing Magento&nbsp;<em>SUPEE-10570<\/em>:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the patch fails to apply while patching lib\/Zend\/Mail\/Transport\/Sendmail.php, it might mean your Magento installation was previously patched with SUPEE-9652v1 instead of SUPEE-9652v2. The recommended solution is to revert patch SUPEE-9652v1 and apply SUPEE-9652v2 before applying SUPEE-10570.&nbsp;(source:&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-operations\/release\/notes\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">SUPEE 10570 | Magento<\/a>)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to check if Magento SUPEE-10570 has been installed correctly?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The easiest method to check for the patches installed is using&nbsp;<a href=\"https:\/\/www.magereport.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">magereport.com<\/a>. However, SUPEE 10570 can\u2019t be detected from front-end so using magereport.com won\u2019t be much useful in this case.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another way to check for the patches installed is, using SSH. Every installed patch can be found in your store content specifically logged in to&nbsp;<strong>app\/etc\/applied.patches.list.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So you can use the \u2018<strong>grep<\/strong>\u2019 command to access the list:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grep \u2018|' app\/etc\/applied.patches.list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You\u2019ll get output like this:<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2018-03-05 09:05:20 UTC | SUPEE-10570_CE_v1.9.3.7 | CE_1.9.3.7 | v1 | 8529a92f3507cedd5bdc645c853c348fd3a107a6 | Wed Feb 7 18:53:10 2018 +0200 | ce-1.9.3.7-dev<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to revert a patch if you are facing any issue?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following SSH Command to revert your patch.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sh patch-file-name.sh -R<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do let us know via Comments if you are facing any other error while installing&nbsp;<em>SUPEE-10570<\/em>. We will help you out fixing them. Mention the Magento Version you are using while installing the&nbsp;<em>SUPEE 10570<\/em>&nbsp;so that we can help you better and faster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We recommend upgrading to Magento version 1.9.3.8 which includes all the security patches including\u00a0<strong>SUPEE 10570<\/strong>. If you need any help regarding Magento version Upgrade, Checkout our\u00a0<a href=\"https:\/\/meetanshi.com\/magento-upgrade-service.html\">Magento Upgrade Service.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can also help you install&nbsp;<strong>SUPEE 10570<\/strong>&nbsp;professionally, visit:&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-security-patches-installation-service.html\">Magento Security Patches Installation Service<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>March 28, 2018:&nbsp;Magento was recently informed about an issue with both patch SUPEE-10570 and Magento versions 1.9.3.8\/1.14.3.8 that could result in the inability of customers&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-47","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/47","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":4,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":21260,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/47\/revisions\/21260"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}