- Posts: 148
- Thank you received: 3
cpanel.php file flagged as malware
- azurelinksc
- Topic Author
- Offline
- Premium Member
-
Less
More
4 months 4 days ago #10908
by azurelinksc
cpanel.php file flagged as malware was created by azurelinksc
The following file is being flagged in SCP's Malware Scanner: /administrator/components/com_securitycheckpro/models/cpanel.php
Suspicious pattern: Found 1 occurrence(s) of string strtrexec
File is dated July 30, 2025. I thought I would find a more recent file in the 5.1.0 distribution, but that file isn't in the "backend" models directory. Shall I add it as an exception?
Suspicious pattern: Found 1 occurrence(s) of string strtrexec
File is dated July 30, 2025. I thought I would find a more recent file in the 5.1.0 distribution, but that file isn't in the "backend" models directory. Shall I add it as an exception?
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
Less
More
- Posts: 5528
- Thank you received: 404
4 months 4 days ago #10909
by Jose
Replied by Jose on topic cpanel.php file flagged as malware
Hi azurelinksc,
No, I wouldn't add it as an exception.
I believe that file belongs to a very old version of the firewall and has simply been left behind during an update.
Could you please confirm whether there are any other files inside the /administrator/components/com_securitycheckpro/models/ directory? Also, can you check whether there is a Model directory (singular) alongside it? There should be, otherwise the site would likely have been broken already.
If the Model directory exists, please try renaming the models directory (for example, to models_old) and verify that everything continues to work correctly. If nothing breaks, you can safely delete the old models directory, as it is most likely just a leftover from a previous version.
Best regards,
Jose
No, I wouldn't add it as an exception.
I believe that file belongs to a very old version of the firewall and has simply been left behind during an update.
Could you please confirm whether there are any other files inside the /administrator/components/com_securitycheckpro/models/ directory? Also, can you check whether there is a Model directory (singular) alongside it? There should be, otherwise the site would likely have been broken already.
If the Model directory exists, please try renaming the models directory (for example, to models_old) and verify that everything continues to work correctly. If nothing breaks, you can safely delete the old models directory, as it is most likely just a leftover from a previous version.
Best regards,
Jose
Please Log in or Create an account to join the conversation.
- azurelinksc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 3
4 months 4 days ago #10912
by azurelinksc
Replied by azurelinksc on topic cpanel.php file flagged as malware
Inside the "models" directory in the path above there are two directories ("fields" and "forms") and 19 php files.
No other directory named "model" either outside or inside.
No other directory named "model" either outside or inside.
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
Less
More
- Posts: 5528
- Thank you received: 404
4 months 4 days ago #10913
by Jose
Replied by Jose on topic cpanel.php file flagged as malware
Hi azurelinksc,
In the new Joomla structure, those classes should be located under the src directory (for example, src/Model, src/Controller, etc.), rather than in the old models folder.
I'd be happy to take a look to the site. If you'd like me to investigate, please send me FTP access and a backend administrator account using the Secure Credentials Submission form.
Regards,
Jose
In the new Joomla structure, those classes should be located under the src directory (for example, src/Model, src/Controller, etc.), rather than in the old models folder.
I'd be happy to take a look to the site. If you'd like me to investigate, please send me FTP access and a backend administrator account using the Secure Credentials Submission form.
Regards,
Jose
Please Log in or Create an account to join the conversation.
- Jose
-
- Offline
- Administrator
-
Less
More
- Posts: 5528
- Thank you received: 404
4 months 3 days ago #10914
by Jose
Replied by Jose on topic cpanel.php file flagged as malware
Hi azurelinksc,
I've checked it, and inside the models directory there should only be the forms folder and an index.html file.
I also verified that the fields directory and the additional PHP files belong to the Joomla 3 version of the extension. They are legacy files and are no longer used in the current Joomla versions.
I'll add the necessary cleanup logic in the next update so those obsolete files are automatically removed.
Kind regards,
Jose
I've checked it, and inside the models directory there should only be the forms folder and an index.html file.
I also verified that the fields directory and the additional PHP files belong to the Joomla 3 version of the extension. They are legacy files and are no longer used in the current Joomla versions.
I'll add the necessary cleanup logic in the next update so those obsolete files are automatically removed.
Kind regards,
Jose
Please Log in or Create an account to join the conversation.
- azurelinksc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 3
4 months 3 days ago - 4 months 3 days ago #10915
by azurelinksc
Replied by azurelinksc on topic cpanel.php file flagged as malware
Does that mean I can delete everything else in the models directory, e.g., the "fields" directory and its contents, and all 19 php files, but leaving a blank index.html file?
Or should I wait for the next update?
Or should I wait for the next update?
Last edit: 4 months 3 days ago by azurelinksc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds