After weeks of waiting for the patch today (27.10.2015) it was released: SUPEE-6788
A lot of things were patched and also is encouraged to review installed modules for possible vulnerabilities.
I open this post in order to get some insights about how to apply the patch. What are the steps to apply the patch? To my understanding this are the steps:
- Fix modules with admin functionality that is not under the admin URL
- Fix modules that use SQL statements as field names or escape fields
- White list blocks or directives that uses variables like
{{config path=”web/unsecure/base_url”}}
and{{bloc type=rss/order_new}}
- Addressing potential Exploit with Custom Option File Type (no idea how to do this)
- Apply the patch
Is this the correct procedure?
.htaccess.sample
as well as.htaccess
. The latter is customized in most shops, this will make the patch fail => You need to temporarily replace it with the original file from Magento, apply the patch, restore your own .htaccess and apply the change which protects access tocron.php
manually (don't use the production system for this process of course!)