Magento patch SUPEE 8788 and release 1.9.3

in Magento

Critical patch

This patch fixes about 17 issues, some of which are highly critical. They allow remote code execution (RCE), so anyone can take control of a store.

How to install the patch

Follow the regular patch instructions. If you run into problems, please visit the 8788 answers page at the Stackexchange.

Notably: the patch contains binary characters. So you should probably not open it with a regular editor, as that will mangle the data.

How Magereport detects the patch

Magereport checks for the following static assets that should have been removed:

/skin/adminhtml/default/default/media/flex.swf
/skin/adminhtml/default/default/media/uploader.swf
/skin/adminhtml/default/default/media/uploaderSingle.swf

It also checks for the following files that have been modified:

/js/mage/adminhtml/uploader/instance.js should contain "fustyFlowFactory"
/skin/adminhtml/default/default/boxes.css should contain "background:url(images/blank.gif) repeat;"

If you get an unexpected result

NB: Using Magento 2? We cannot accurately establish your version yet. Hold tight, we are working on it!

Using Magento 1?

Please double check these things first:

  1. Are you running multiple Magento installations on the same domain? Due to the way Magento routing works, MageReport cannot distinguish between multiple installations on the same domain. So if you want to test an upgrade, you could put it on its own domain (eg. test.yourdomain.com).
  2. Have the SWF files indeed been removed? If you just copied v1.9.3 over an older version, the old SWF files still exist (and pose a vulnerability)
  3. Do the JS and CSS files indeed contain the required strings? If not, the patch might have quit halfway so you have a half-patched system.
  4. Do you use Varnish, Cloudflare, a CDN or another caching layer? Your old site might have been cached. Flush your cache or wait until your cache expires.
  5. Do you use Magento 1.5? We can only detect proper patch application if you have not removed the uploader.swf by hand. Opposed to the other patches, the Flash file is modified instead of deleted. If you have deleted it yourself (which is quite safe to do anyway), we cannot detect the patch unless we hack your shop. Sorry! (3% of all Magento stores still have 1.5)
  6. Do you rewrite requests based on admin in the URL? Then we cannot properly establish the patch. But if have these security measures in place, you probably do not need Magereport 😉

If you still get unexpected results, please mail your URL to magereport@hypernode.com and we will investigate your case. And hopefully make Magereport better, thanks to your help!

18