How to Install Magento SUPEE 9767 Version 2 With or Without SSH

How to Install Magento SUPEE 9767 Version 2 With or Without SSH

Magento released 1.9.3.4 & SUPEE 9767 Version 2 providing protection against several types of security-related issues, including remote code execution, information leaks and cross-site scripting.

Read before Upgrading:
If you previously applied SUPEE-9767 (first version of this patch released on May 31, 2017) to apply new SUPEE-9767 version, you can simply upload SUPEE-9767v1 files on top of it, it will replace all related files.

Installation process:
I have explained installation of patches with both the ways here:
Follow this instruction to install patch on your store,

Method 1:
Upload patch files in the root of magento.
Make one file with the name of patch.php, write following code in it,


replace the file name in it, upload it in the root and run the file from the browser.
Name should be PATCH_SUPEE-9767_CE_1.9.3.3_v1-2017-07-11-11-07-20.sh
You should receive following screen once you run patch.php from the browser,

error1
If you are getting error like this,
“Error! Some required system tools, that are utilized in this sh script, are not installed; Tool (s) “patch” is (are) missed, please install it(them).
That means system tools aren’t installed in your server to run the sh script, you can contact your hosting provider or follow another method.

error2
We have updated the patch files for the older Magento versions. It is very much recommended to use this patches at your own risk, please take backup of your website prior to installation.

Method 2:
You can install patch with SSH as well. You will need SSH, if you don’t know how to set up SSH, contact your hosting provider.
Upload the patch files in the root,
In ssh console, run the command as following.
For .sh file extension
Sh PATCH_SUPEE-9767_CE_1.9.3.3_v1-2017-07-11-11-07-20.sh
For .patch file extension:
patch —p0 < patch_file_name.patch

Method 3:
Download the zip file for the patch installation. You can also download these Pre Patched files from GitHub. After downloading the files, simply upload it to your Magento root folder.

Magento version SUPEE-9767 Version 2
Magento 1.9.3.3 SUPEE_9767_v1_Magento_1.9.3.3
Magento 1.9.3.2 SUPEE_9767_v1_Magento_1.9.3.2
Magento 1.9.3.1 SUPEE_9767_v1_Magento_1.9.3.1
Magento 1.9.3.0 SUPEE_9767_v1_Magento_1.9.3.0
Magento 1.9.2.4 SUPEE_9767_v1_Magento_1.9.2.4
Magento 1.9.2.3 SUPEE_9767_v1_Magento_1.9.2.3
Magento 1.9.2.2 SUPEE_9767_v1_Magento_1.9.2.2
Magento 1.9.2.1 SUPEE_9767_v1_Magento_1.9.2.1
Magento 1.9.2.0 SUPEE_9767_v1_Magento_1.9.2.0
Magento 1.9.1.1 SUPEE_9767_v1_Magento_1.9.1.1
Magento 1.7.0.2 SUPEE_9767_v1_Magento_1.7.0.2

It is highly recommended to get your Magento version upgraded to 1.9.3.4 which includes all the security patches including SUPEE 9767 Version 2. If you need any help regarding Magento version Upgrade, Checkout our Magento Upgrade Service.

Magento-upgrade-service

Previous Article

How to Login Customer Programmatically without Password in Magento 2

Next Article

How to Create Admin Grid in Magento 2

View Comments (50)
  1. We have version 1.9.2.2 for our Magento install. Will the patch for version 1.9.2.4 work for us or do we need to wait till the patch for 1.9.2.2 becomes available? Thanks!

    1. 1.9.2.4 patch should work if only all the previous patches are installed correctly. OR You should upgrade your Magento version to 1.9.3.3

  2. We have version 1.9.2.2 for our Magento install. Will the patch for version 1.9.2.4 work for us or do we need to wait till the patch for 1.9.2.2 becomes available? Thanks!

    1. 1.9.2.4 patch should work if only all the previous patches are installed correctly. OR You should upgrade your Magento version to 1.9.3.3

  3. Vinod Kumar

    Can I install security patch SUPEE_9767_Magento_1.9.2.4 into Magento 1.9.2.3 ?

    Is the security patch_9767_Magento_1.9.2.3 zip not available for Magento 1.9.2.3 ?

  4. Vinod Kumar

    Can I install security patch SUPEE_9767_Magento_1.9.2.4 into Magento 1.9.2.3 ?

    Is the security patch_9767_Magento_1.9.2.3 zip not available for Magento 1.9.2.3 ?

  5. Magecomp,

    Have you guys come across any problems after installing this patch? I installed it and then I enable the Fomkey Validation in the back end. I went to do a test run and see what it changed in the front end. I add a product to my cart and then go to check out. First step in the check out is the billing info. I hit the continue button but all it will do is refresh the page. Wont let me get passed the first step at all. I turn Formkey Validation off and it works just fine. Have anyone else have this issue?

    1. Hello
      Follow this

      template/checkout/cart/shipping.phtml
      template/checkout/multishipping/billing.phtml
      template/checkout/multishipping/shipping.phtml
      template/checkout/multishipping/addresses.phtml
      template/checkout/onepage/billing.phtml
      template/checkout/onepage/payment.phtml
      template/checkout/onepage/shipping.phtml
      template/checkout/onepage/shipping_method.phtml
      template/persistent/checkout/onepage/billing.phtml

      Put this form key code in between < form > tag in all above files

      getBlockHtml('formkey') ?>

      Find this Js file
      skin/frontend/themefoldert/js/opcheckout.js

      Find
      if (elements[i].name=='payment[method]')

      replace to

      if (elements[i].name=='payment[method]' || elements[i].name == 'form_key')

  6. Magecomp,

    Have you guys come across any problems after installing this patch? I installed it and then I enable the Fomkey Validation in the back end. I went to do a test run and see what it changed in the front end. I add a product to my cart and then go to check out. First step in the check out is the billing info. I hit the continue button but all it will do is refresh the page. Wont let me get passed the first step at all. I turn Formkey Validation off and it works just fine. Have anyone else have this issue?

    1. Hello
      Follow this

      template/checkout/cart/shipping.phtml
      template/checkout/multishipping/billing.phtml
      template/checkout/multishipping/shipping.phtml
      template/checkout/multishipping/addresses.phtml
      template/checkout/onepage/billing.phtml
      template/checkout/onepage/payment.phtml
      template/checkout/onepage/shipping.phtml
      template/checkout/onepage/shipping_method.phtml
      template/persistent/checkout/onepage/billing.phtml

      Put this form key code in between < form > tag in all above files

      getBlockHtml('formkey') ?>

      Find this Js file
      skin/frontend/themefoldert/js/opcheckout.js

      Find
      if (elements[i].name=='payment[method]')

      replace to

      if (elements[i].name=='payment[method]' || elements[i].name == 'form_key')

  7. Has anyone experienced an issue with this patch, that doesn’t allow customers to register at the checkout any more?

  8. Has anyone experienced an issue with this patch, that doesn’t allow customers to register at the checkout any more?

    1. If you previously applied SUPEE-9767 (first version of this patch released on May 31, 2017) to apply new SUPEE-9767 version, you can simply upload SUPEE-9767v1 files on top of it, it will replace all related files.

    1. If you previously applied SUPEE-9767 (first version of this patch released on May 31, 2017) to apply new SUPEE-9767 version, you can simply upload SUPEE-9767v1 files on top of it, it will replace all related files.

Leave a Comment

Your email address will not be published. Required fields are marked *

Get Connect With Us

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨