Support

Admin Tools

#39396 Acymailing Hack

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Monday, 28 August 2023 07:05 CDT

webfeuerflo

I have a question concerning the recent acymailing hack. I have 3 installations that were affected as I could find the malicious *.php.png files in the media/com_acym/images/thumbnails-folder.

But I could not find any other suspicious files. all 3 websites had admin tools installed. could it be that admin tools prevented the uploaded php-files form being executed?

so the hacker only could upload those files but was then blocked?

nicholas
Akeeba Staff
Manager

Admin Tools' DFIShield and .htaccess Maker prevent attacks which use relative directories (../ in the filename). This limits the attacker to uploading arbitrary files in AcyMailing's media subfolder. This limits the scope of the attack.

Admin Tools' .htaccess Maker prevents direct access of .php files beyond Joomla's index.php files (root, api directory, administrator directory) and the administrator/components/com_joomlaupdate/extract.php file used for Joomla! upgrades (this has its own very tight security; I contributed it myself). Therefore, the files uploaded to media/com_acym/images/thumbnails-folder cannot be executed. This neuters the effects of the attack.

Finally, if you are using Admin Tools' PHP File Change Scanner it will detect the .png.php files being uploaded and report them to you, so you know you've got to clean 'em up.

So, yes. The attacker could only upload those files, but they were blocked from using them. An apt analogy would be that you got shot in the chest, but the bullet was stopped by your bullet-proof vest.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

webfeuerflo

thank you, that is good to hear! the php file scanner would only help me if I had ran it before, right? if it's the first scan it finds a lot of suspicious files

 

nicholas
Akeeba Staff
Manager

the php file scanner would only help me if I had ran it before, right? if it's the first scan it finds a lot of suspicious files

Correct. The PHP File Change Scanner should be run daily, and also right before and right after you update Joomla! and/or extensions. This is needed to establish which files are safe.

For detailed information please read https://www.akeeba.com/documentation/admin-tools-joomla/php-file-scanner-reports.html. The information under Threat Score tells you how you are expected to use this feature for best results.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
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!