ballot Posted October 31, 2010 Share Posted October 31, 2010 <?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); //will be initialized bellow... if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1) $rewrited_url = null; if (!isset($objectType)) $objectType = 'supplier'; as u see $objectType is not defined if someone go to supplier.php?objectType=manufacturer or anything he can success dont know if it may cause a security bug or not taking $objectType from get/post/cookie Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2010 Share Posted November 1, 2010 I can't see any problem. PrestaShop seems to ignore the query string. I tried to go to supplier.php?objectType=manufacturer, but it loaded suppliers as usual.If you are still concerned, you can post this issue on the bug tracker to get an official response from the PrestaShop team. Link to comment Share on other sites More sharing options...
ballot Posted November 1, 2010 Author Share Posted November 1, 2010 it must be about register globals it works on mehttp://www.my-deco-shop.com/design/supplier.php?objectType=manufacturerhttp://www.my-deco-shop.com/design/supplier.php?objectType=supplierhttp://www.my-deco-shop.com/design/supplier.php?objectType=blablabla Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now