Forums / General Questions / Zero-Day XSS Security Fix

Zero-Day XSS Security Fix

Locked

Started by athena on 12 Oct 2006, 12:28 PM · Views: 2,861

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Oct 2006, 12:28 PM
#1
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Zero-Day XSS Security Fix

fix instructions for 1.3.0.2...I've kept up with the security releases but the changed files for this recent xxs fix don't match my files. Is leaving the changed files alone and simply adding the change as instructed manually ok?

I implimented the code addition to init_general_funcs.php adding at the bottom:

//-----------------
if (isset($_GET) & sizeof($_GET) > 0 ) {
foreach ($_GET as $key=>$value) {
$_GET[$key] = strip_tags($value);
}
}
//-----------------

Good enough?

12 Oct 2006, 6:50 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Zero-Day XSS Security Fix

The posted ZIP includes the XSS fixes for both announcements made recently.
If you already applied the first fixes then you only need to make the one change as you indicated.

.
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.

12 Oct 2006, 7:17 PM
#3
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Zero-Day XSS Security Fix

Appreciate the short cut...thanks.