Support

Admin Tools

#39501 PHP file scanner

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.3.4
PHP version
8.2.8
Admin Tools version
7.4.1

Latest post by nicholas on Thursday, 21 September 2023 02:10 CDT

davidtorr

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

Just ran my first PHP file scan. Set to scan only "php, phps, phtml, php3, inc"

Found a huge number of suspicious files - but just about all of them were image files which surely should not have been scanned

nicholas
Akeeba Staff
Manager

It depends. Files with multiple extensions such as .php.jpg or .jpg.php will also be scanned by default since the default setting for “Scan files with double extensions” is Yes.

In fact, they should be scanned. Remember that AcyMailing had a massive security issue from April 2023 to September 2023 which allowed anyone to upload arbitrary files. The most common exploit was to upload fake image files with double extensions which were, in fact, malicious hacking scripts. Admin Tools' .htaccess Maker's Frontend and Backend Protection features would prevent them from running and causing harm to your site, but the files would still pile up.

Is it possible that you had AcyMailing installed and the files you see come from its security issue?

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!

davidtorr

Thanks for the response. I inadvertently deleted the database table so I cannot check for sure whether there were any multiple extensions, but a quick look at my site cannot find any.  I will run the scan again tonight and double-check the results.

We have never had AcyMailing installed

davidtorr

Actually a subsequent scan has run and is finding errors in what seem to be normal files (see attachment from a phpMyAdmin dump). None of the scanned files were actually PHP files

davidtorr

Try again with the screen shot  - the last time it was a .JPG not .jpg and failed

nicholas
Akeeba Staff
Manager

Yes, this does not look right. We will address this in the next release.

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!