Support

Admin Tools

#33127 PHP File Scanner keeps flagging Akeeba Backup's QueryException.php; checksum unchanged

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 on Friday, 03 July 2020 17:17 CDT

keenmouse
For the past few days, my nightly PHP File Scanner report has been saying that these two files have been modified, but they haven't been. The checksums have not changed and neither have the modification dates.

administrator/components/com_akeeba/BackupEngine/Driver/QueryException.php
administrator/components/com_akeeba/BackupEngine/Driver/Queryexception.php


This is only happening on one site out of several where I have both Akeeba extensions installed.

tampe125
Akeeba Staff
Hello,

that's pretty strange, since such file contains only few lines of code.
Are you calculating a diff while performing the scan?
If you manually run another scan, does the file become flagged again?

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!

keenmouse
Manually running a scan flags the same two files again. This also started happening on another site on Friday. On a hunch, I tried updating Akeeba Backup to 7.1.4 on a third site where this hasn't been happening, and it started happening there too.

I was not calculating diffs, but turned it on to see what the result would be. Here's what I get:

@@ -1,1 +1,21 @@
+<?php
+/**
+ * Akeeba Engine
+ *
+ * @package   akeebaengine
+ * @copyright Copyright (c)2006-2020 Nicholas K. Dionysopoulos / Akeeba Ltd
+ * @license   GNU General Public License version 3, or later
+ */
 
+namespace Akeeba\Engine\Driver;
+
+
+
+use Exception;
+
+class QueryException extends Exception
+{
+}
+
+;
+

tampe125
Akeeba Staff
Ok got it.
You can safely ignore it: we added that new file in the latest version, since in the previous one it had capital letters in the wrong place, causing the backup engine to fail on case sensitive filesystems.
So long story short: don't worry, that's fine.

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!

keenmouse
Oh, I think I get it. Admin Tools thinks it's the same file because it sees the filename as the same due to case insensitivity, but thinks that the file has been modified because the contents of the two files are slightly different (blank lines and semicolon at the end)?

I hope this will be fixed by making Admin Tools understand filename case sensitivity rather than by making the Akeeba Backup files identical. It seems like perhaps the filename insensitivity could be exploited.

tampe125
Akeeba Staff
Yes, I'm going to investigate on it, thanks for the report

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!