Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Security Fix for Admin Login Module Support 2.2 RC1


naylwin

Recommended Posts

Hi Guys,

 

Without logging into your admin panel, hacker can access to your site via:

http://[www.yoursite.com]/admin/categories.php/login.php?cPath=&action=new_product_preview

 

https://[www.yoursite.com]/admin/file_manager.php/login.php

 

To patch your site, open /admin/includes/application_top.php

 

find:

$current_page = basename($PHP_SELF); // around Line 136

 

replace:

$current_page = basename($_SERVER['SCRIPT_NAME']);

 

 

Add-Ons Link

 

I hope this helps someone.

Edited by naylwin
Link to comment
Share on other sites

That's a redundant contribution because it is for an out-dated version of osCommerce AND it is already covered in the security forum. If anyone is still using RC1, they should have updated a long time ago.

 

 

 

 

 

Chris

Link to comment
Share on other sites

Thanks for letting me know, Chris. I agree with you on upgrading to the latest version. I have a handful of clients who do not have experience in PHP/MySQL and also not willing to spend money for upgrading the software. Including myself, many of my clients who run older version of osCommerce; we have installed many contributions on the site, and we do not find any proper upgrade process or instruction to carry over all our contributions to new version. In default instruction, it is suggesting us to over-write all the new files to on our osCommerce site; which is definitely not possible. We have spent many years and expenses to have these contributions to our site, and we cannot afford to lose them just to get our site upgraded to new version.

 

Therefore, we will always need the security fixes for older version whenever new version is released.

 

-Nay

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...