Support

Admin Tools

#37927 DFIShield blocking YOOTheme front-end editing

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.2.3
PHP version
8.1
Admin Tools version
7.1.11

Latest post by tampe125 on Monday, 24 October 2022 09:55 CDT

woluweb

Hi Nicholas & co,

When *editing* from the front-end a new website using YOOtheme, I was getting the famous Joomla "red screen of the death" :)

So I investigated it and understood some Admin Tools rule was triggering, namely the "Direct File Inclusion shield (DFIShield)" (which I temporarily disabled and indeed now I can edit from the front-end with the YOOtheme Page Builder).

Here is the url which is blocked :

/component/ajax/?p=customizer&templateStyle=12&section=builder&format=html&site=%2F&return=https%3A%2F%2Fwww.DOMAINNAME.COM%2F%3Fview%3Dform%26layout%3Dedit%26a_id%3D21%26return%3DaHR0cHM6Ly93d3cubW9pc2R1ZG9jLmJlLw%3D%3D

What is wrong with this url ? (if needed, I can report to YOOtheme then)

Is it possible to make an exception in my configuration so that I can re-enable DFIShield without blocking theses urls?

Txs!

Marc

tampe125
Akeeba Staff

Hello,

the problem is that YooTheme is using raw URLs in the request instead of base64 encoding, as Joomla (and every else component) is doing.

This triggers Admin Tools protection, since it seems that an attacker is trying to load an external file.

You can try to add a WAF Exception for the com_ajax component, but I'm not sure if that will work.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!