Magento releases security patch and updates periodically to fix or improve the known security vulnerabilities and bugs in a particular version of Magento. With the application of such patches, the usability and performance seems to improve a lot compared to the original release.
All Security Patches for Magento CE and EE can be downloaded from Magento Support website:
If you have an account, login to magentocommerce.com, My Account section. If you don’t have an account in magentocommerce, register for a free account.
Navigate to Community Edition Patches Section.
Select the patch to apply, next to the version of Magento you have installed.
Press Download button, and save the file to the format you want.
sh <YOUR_PATCH_FILE.sh> Example: sh PATCH_SUPEE-8788_CE_22.214.171.124_v1-2016-10-11-07-03-46.sh
After successful installation, you will get a message: “Patch was applied/reverted successfully”.
Check if the above script changed the ownership of modified files. Run the following command to re-apply proper ownership.
chown –R <YOUR_WEBSERVER_OWNERSHIP_NAME>
If you run into errors/issues after installing a patch, execute the following command to revert the applied patch.
From the root directory,
sh <YOUR_PATCH_FILE.sh> -R Example: sh PATCH_SUPEE-8788_CE_126.96.36.199_v1-2016-10-11-07-03-46.sh -R