On October 27, 2015, Magento has released security patch SUPEE-6788. According to the technical details, 4 APPSEC's that have been fixed require some rework in local and community modules:
- APPSEC-1034, addressing bypassing custom admin URL (disabled by default)
- APPSEC-1063, addressing possible SQL injection
- APPSEC-1057, template processing method allows access to private information
- APPSEC-1079, addressing potential exploit with custom option file type
I was wondering how to check which modules are affected by this security patch.
I came up with the following partial solution:
- APPSEC-1034: search for
<use>admin</use>
in the config.xml of all local and community modules. I think this should list all modules affected by this issue. - APPSEC-1063: search for
addFieldToFilter('(
andaddFieldToFilter('`
in all PHP files of local and community modules. This is incomplete, as variables can also be used. - APPSEC-1057: search for
{{config path=
and{{block type=
in all PHP files of local and community modules, and filter out all elements from the whitelist. This is incomplete, as it does not contain any template variables added by admins, however. - APPSEC-1079: no idea.
There is also a list of extensions that are vulnerable for APPSEC-1034 and APPSEC-1063 compiled by Peter Jaap Blaakmeer