If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 2.x.x / Cannot Download v2.0.0 - Microsoft malware blocking it

Cannot Download v2.0.0 - Microsoft malware blocking it

Started by g2ktcf on 8 Apr 2024, 2:22 PM · Views: 3,776

Results 1 to 20 of 25
8 Apr 2024, 2:22 PM
#1
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Post #1 by g2ktcf

I have a working local copy of zc2.0 rc2 and wanted to see what the differences are as I have added and modified rc2 a good bit. I cannot download zc 2.0 as Windows is detecting a virus. help?

8 Apr 2024, 3:12 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

There's no virus in the zip.

But what "virus" is it claiming to have detected?
And which application is blocking it? Is it only when using Edge? Do other browsers block it?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Apr 2024, 3:35 PM
#3
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Post #3 by g2ktcf

It was shown as "virus detected" after the download in Chrome. I run Malware Bytes as well but did not see anything from that. MS Edge is doing the same thing and just says "Couldn't download - Virus detected".

See attached screenshot from my last attempt using Edge.

Attachment 20564

8 Apr 2024, 3:58 PM
#4
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #4 by simon1066

I too, get a virus warning from Windows 11 when downloading in Edge (Chrome & FF are not complaining). There's a bit more detail in this screenshot.

Attachment 20565

Simon

8 Apr 2024, 4:11 PM
#5
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #5 by simon1066

Looks like a false positive.

Simon

8 Apr 2024, 4:50 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #6 by drbyte

I've re-released v2.0.0 to generate a new zip. Does it still get flagged?

https://github.com/zencart/zencart/archive/refs/tags/v2.0.0.zip

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Apr 2024, 5:14 PM
#8
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #8 by simon1066

Also flagged when downloading a zip of the master branch.

(Chrome is complaining, I was wrong before)

Simon

8 Apr 2024, 6:29 PM
#9
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #9 by simon1066

If it helps, I removed includes/modules/product_prev_next.php from a copy of the zencart-2.0.0.zip, and downloaded it in Edge - no issues flagged.

Simon

8 Apr 2024, 9:49 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #10 by drbyte

simon1066:

If it helps, I removed includes/modules/product_prev_next.php from a copy of the zencart-2.0.0.zip, and downloaded it in Edge - no issues flagged.
Curious: What made you choose that file to exclude?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Apr 2024, 10:55 PM
#11
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #11 by oldngrey

That same file is also detected by Windows Defender in the zip file.
When the zip file is unpacked and the directory is scanned
Affected items: file: E:\Web\zc200_test\public\includes\modules\product_prev_next.php.

I had already unpacked and installed v2.0.0 before the posts alerted me to the issue.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

8 Apr 2024, 11:25 PM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #12 by swguy

Would you please try deleting the commented out lines of code - lines 23-33 and 36, 39, 44, and see if that makes a difference?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 Apr 2024, 1:20 AM
#13
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
433
Plugin Contributions:
0

Post #13 by oldngrey

Cannot edit the file contained in the zip file as once the antivirus detects it, the file is locked.
If the contents of the file is copied from GitHub to a new document the contents are ok and do not raise alerts.

OldNGrey
ZC222 PHP 8.4.27
MySQL 11.8.5-MariaDB

9 Apr 2024, 8:35 AM
#15
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #15 by simon1066

In my tests, I have found that it is the use of the word 'override' in \includes\modules\product_prev_next.php that causes the issue.

Changing line #14 from

$prev_next_override = false;

to

$prev_next_temp = false;

causes no flagging in Edge or Chrome.

Simon

9 Apr 2024, 8:47 AM
#16
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Post #16 by simon1066

simon1066:

In my tests, I have found that it is the use of the word 'override' in \includes\modules\product_prev_next.php that causes the issue.

Changing line #14 from

$prev_next_override = false;

> 
> to
> 
> ```
$prev_next_temp = false;

causes no flagging in Edge or Chrome.

Correction - it's '$prev_next_override' rather than just 'override' that causes the issue.

Simon

9 Apr 2024, 12:13 PM
#17
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #17 by lat9

simon1066:

In my tests, I have found that it is the use of the word 'override' in \includes\modules\product_prev_next.php that causes the issue.

Changing line #14 from

$prev_next_override = false;

> 
> to
> 
> ```
$prev_next_temp = false;

causes no flagging in Edge or Chrome.

simon1066:

Correction - it's '$prev_next_override' rather than just 'override' that causes the issue.
Holy crow! Talk about a false-positive! Thanks for sussing this out, @simon1066!

9 Apr 2024, 12:55 PM
#18
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #18 by delia

I was finally able to download and extract the file (using firefox). But it gives two threats and here is the second.Attachment 20566. T

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

9 Apr 2024, 1:52 PM
#19
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #19 by lat9

delia:

I was finally able to download and extract the file (using firefox). But it gives two threats and here is the second.Attachment 20566. T
... and what is the first?

9 Apr 2024, 1:56 PM
#20
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Post #20 by delia

lat9:

... and what is the first?

product_prev_next.php

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo