Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
ViArt Team (Guest)
ViArt Team (Guest)
Brief.
We have slightly modified the following scripts after release 3.3.2 has been issued:
site_map.php
blocks/block_site_map.php
 
Description.
You may experience a hack attempt if the below settings are specified in the php.ini file:
register_globals = On
Also we've added support for friendly URLs in Site Map block. Friendly URLs settings can be found in Admin Panel in System > Global Settings section.
 
Solution.
We would highly recommend to download an updated version of the files from here: http://www.viart.com/downloads/site_map-3.3.2.zip
 
Further, extract the above mentioned files into the root folder of your shop replacing existing ones. Don't forget to make backup copies of the current files in case something goes wrong.
 
In addition, we can advise you to check register_globals setting in php.ini and set it to "Off" (if your software allows you to do that).
Last modified: 19 Dec 2007 10:03 PM
 
8thSinCoffee
8thSinCoffee
Is this a problem in 3.2 as well?
 
emresonmez
emresonmez
where is the php.ini located in the software?
 
SajMalik
SajMalik
Sorry that I am not really savvy in this area
My php.ini does not have the line register_globals =
Should still append the line:
register_globals = Off ?
 
Chris
 
Anjula
Anjula
Hello,
 
The php.ini file is usually located on your server. In case you do not have an access to this file, then it is enough to download the patch and replace your current files with the new ones.
 
Please, also note that this patch is valid only for version 3.3 and higher. Older versions do not have this vulnerability.
 
With kind regrads,
ViArt Support Team
 
Ibn Saeed
Ibn Saeed
You would have to ask your host for the changes in register_globals.
 
Ned
Ned
Clicking on Eugenes link at the top of this thread redirects me to http://www.viart.com/friendly_url.php although the page source in Firefox shows me that the link above is indeed pointing to the zip file. So it looks like the redirection is broken.
 
Eugene (Guest)
Eugene (Guest)
Thanks for reporting a problem. We have fixed download link.
 
Eugene (Guest)
Eugene (Guest)
Hi all,
 
We have updated the site_map-3.3.2.zip package, and it includes updated block_site_map.php. This script now supports friendly URLs settings that can be set via Admin Panel in System > Global Settings.
 
WBR,
ViArt Support team
 
ansuk
ansuk
Fantastic news Eugene Yahoo!
 
Ibn Saeed
Ibn Saeed
Excellent
 
Thanks for the quick fix.
 
RogerS (Guest)
RogerS (Guest)
I had just implemented the sitemap, but was shocked to see the non-friendly URLs. Searched this forum, installed the patch - it worked like a dream!
Good
 
freezer (Guest)
freezer (Guest)
The server I run another site needs the globals on due to old coding.
 
Would it be feasible to eliminate the risk mentioned to add the folling line to a .htaccess file
 
php_value register_globals 0
 
Just for this domain
 
Regards,
 
Dave
 
eugene
eugene
Hi, freezer
 
Yes, you can try this method for turning off register_globals
However it's not obligatory after installing fix for Site Map block.
 
WBR,
ViArt Support Team