Get a list of all installed Magento Patches

Published: 09, Jul 2015
MagentoSecuritySSH

Lately there have been a lot of patches out there for Magento.  Some pretty major security vulnerabilities have come out as of late ( supee-5344 ).  If you’ve ever needed a quick way to check whether or not you’ve actually patched your own server you can do so pretty simply.

  • SSH to your server
  • CD Into the directory where your magento installation is
  • Then use one of the following:

To get just the list of patch names installed:

$ grep -F '|' app/etc/applied.patches.list|cut -f 2 -d'|'
SUPEE-2725
SUPEE-5346
SUPEE-1533

To get the list of patch names along with installation date:

$ grep -F '|' app/etc/applied.patches.list|cut -f 2,1 -d'|'
2014-12-01 07:28:34 UTC | SUPEE-2725
2015-04-21 22:18:17 UTC | SUPEE-5346
2015-04-22 00:44:54 UTC | SUPEE-1533

I’ll be posting a writeup in the next couple of weeks on how to easily find all magento installations on a PLESK / WHM Server, get a listings of their Editions ( Community or Enterprise ), Version number, and a list of what patches have been installed.