There actually is a security patch released in 2.3.1, it is the reason 2.3.1 is more secure than earlier versions so its a bit of a fallacy to come to the conclusion that there isn't any in 2.3.1. The 'so called' security patch is
here (taken from the osC upgrade guide) and it directly fixes the admin login bypass issue which has plagued the 2.2 range of osCommerce sites ( and still does if users have applied all the security addons other than using basic authentication password protection, or changed the name of their admin directory and/or use osC_Sec which has the patch in it ).
There are other less critical security upgrades in 2.3.1 as well, so to put it plainly, 2.3.1 is mostly 2.2 versions with a stack of added security patches.
The difficulties users have is in upgrading because of some of the other changes made which affect templates and also the database structure.
While I do understand why many are still set on using the 2.2 range, those private entrepreneurs that are still offering that insecure download are the first part of the problem why this admin login bypass issue just keeps going on and on but I guess, at the end of the day that version will always be available either via direct download or some file sharing network. The second cause is at the webhost level where some major webhosts are still offering auto installs of outdated versions of osCommerce via their web control panels.
The mass exploitation of the outdated versions of osCommerce will end when the masses either patch the faulty code in their admin/includes/login.php and admin/login.php files, and/or add htpasswd protection to the admin directory, and/or change the name of the admin directory or upgrade to 2.3.1.
Now heres the harsh bit for 2.2 range of versions users (and I know it sounds like I am blowing my own trumpet here but that is not my intention, they are far more pragmatic in intent than that).
While adding htpasswd layer to your admin directory and/or changing its name is a top work-around for the security problems, cause number 3) is because none of the raft of current security addons offered in the addons repository, address the faulty code that creates the admin login bypass issue, except [a]
this link which is actually extracted from the
osCommerce Upgrade Guide, [b] the
osCommerce Upgrade Guide, and, [c]
osC_Sec addon which has the code changes in the install instructions.
Any forum discussion threads that offer a list of so-called tried and tested collection of security addons that do not offer at least one of those three links are not offering you any real improved code security at all with the addition of those addons to your site.
- Stop Oscommerce hacks dead in their tracks with
osC_Sec (see discussion
here)
- Another discussion about infected files
::here::
- A discussion on file permissions
::here::
- Site hacked? Should you upgrade or not, some thoughts
::here::
-
Ignore this link - just a
honeypot site to test my ideas out for osC_Sec and allow the site to be picked up by attackers.
- Fix the admin login bypass exploit
here