FEB 08 2017

How to install SUPEE-9652

February 8, 2017: A fix for the recently discovered Zend Framework 1 security vulnerability

New SUPEE-9652 patch can be downloaded as usual from Downloads page:
https://magento.com/tech-resources/download#download1972 or installed as a regular Magento upgrade via Downloader (it is included in Magento 1.9.3.2 version).

You can install it in the same way as previous patches or by upgrading to Magento 1.9.3.2.

To apply the patch you need SSH access (shell access actually, SSH is just most used way to get shell access) to the server. If you have no SSH access, you can refer to How to apply SUPEE-9652 without SSH.

If you wish to save time and have us to install these patches for you, simply click here to order installation.

Step 0: Preparations

Note: Make sure to Disable Magento Compiler at System > Configuration > Tools > Magento Compiler and clear compiled cache.

Step 1: Verify your Magento version

$ grep -A6 'static function getVersionInfo' app/Mage.php
    public static function getVersionInfo()
    {
        return array(
            'major'     => '1',
            'minor'     => '9',
            'revision'  => '3',
            'patch'     => '1',

As you can see in the example, it is Magento 1.9.3.1

Step 2: Download corresponding patches

Patches are obtained from https://magento.com/tech-resources/download#download1972

Make sure to get the right version.

Step 3: Place patches into Magento Root directory

Upload your files into Magento root directory. It is important to place patch files directly into Magento root directory and execute it also directly in Magento root directory.

$ ls -1 .
PATCH_SUPEE-9652_v2-2017-02-07-01-18-38.sh
app
cron.php
downloader
errors
favicon.ico
index.php
js
lib
mage
media
pkginfo
robots.txt
shell
skin
var

 

Step 4: Run the patches

$ bash ./PATCH_SUPEE-9652_v2-2017-02-07-01-18-38.sh
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.

Step 5: Verification and flush of PHP opcode cache

Test that your store is working. If you use PHP opcode caches (OPCache/APC/XCache/eAccelerator) make sure to flush it after patching (or restart webserver), otherwise code will continue to run from caches.

If you have any difficulties with applying the patches please let us know in comments, so we can find the solution together.

 

Posted in: Magento Maintenance

How to install SUPEE-9652
0 votes, 0.00 avg. rating (0% score)