?
avatar Razzo1987
Razzo1987
27 Aug 2020

Steps to reproduce the issue

On Cpanel file manager try to upload zip of full version Joomla 4

Expected result

As 3.9.22 I expect file is uploaded without errors:
immagine

Actual result

Uploading alert a Virus in the ZIP file:
immagine

System information (as much as possible)

Cpanel 86.0.22

Additional comments

I'm sure it is a false positive, but didn't undertood wich is the file that generate it

avatar Razzo1987 Razzo1987 - open - 27 Aug 2020
avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Aug 2020
avatar zero-24
zero-24 - comment - 27 Aug 2020

Maybe because it includes JS files?

VirusTotal seems to be fine with it: https://www.virustotal.com/gui/file/91b30e5a1098299cf431f6185f3d6bd204e116e842f766d573c0833eda67ee37/detection

avatar Razzo1987
Razzo1987 - comment - 27 Aug 2020

The hosting say that the problem is
in administrator/components/com_templates/tmpl/template/default_updated_files.php that contains on line 59:

<?php echo base64_decode(

avatar infograf768
infograf768 - comment - 27 Aug 2020

Full line is
<a href="<?php echo Route::_('index.php?option=com_templates&view=template&id=' . (int) $value->extension_id . '&file=' . $value->hash_id); ?>" title="<?php echo Text::_('JACTION_EDIT'); ?>"><?php echo base64_decode($value->hash_id); ?></a>

We have 121 occurrences in core of base64_decode(

avatar richard67
richard67 - comment - 27 Aug 2020

Ping @SniperSister ;-)

avatar SniperSister SniperSister - close - 27 Aug 2020
avatar SniperSister
SniperSister - comment - 27 Aug 2020

@Razzo1987 base64_decode is a legitimate function call, the alert is a false positive

avatar SniperSister SniperSister - change - 27 Aug 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-08-27 17:21:28
Closed_By SniperSister
avatar Razzo1987
Razzo1987 - comment - 27 Aug 2020

@SniperSister I know it is a false positive. I write it in my first post...
I think we have a problem if cPanel (852,423 live websites) can't upload Joomla 4 zip file.

No one have a contact directly with cPanel?

avatar zero-24
zero-24 - comment - 27 Aug 2020

No one have a contact directly with cPanel?

Your host is a customer of cPanel right? That might be the fastest way to get contact with them

avatar Razzo1987
Razzo1987 - comment - 27 Aug 2020

@zero-24 They have proposed to put the directory under control exclusions.
But it's a patch for my account, not a permanent fix.

@ggenovino also reports me the same problem (different hosting).

In the Joomla 3 version the function base64_decode is never used?

avatar zero-24
zero-24 - comment - 27 Aug 2020

In the Joomla 3 version the function base64_decode is never used?

It is also used in Joomla 3 as this is total valid method to use ;) Example is the tempalte manager

avatar Razzo1987
Razzo1987 - comment - 27 Aug 2020

I'm doing some test.

avatar Razzo1987
Razzo1987 - comment - 31 Aug 2020

@SniperSister can you help me with the non-regression test on this PR?
#30529

Add a Comment

Login with GitHub to post a comment