Oscommerce Security - Osc_Sec.php
#461
Posted 11 April 2012 - 09:07 PM
Thanks,
EricK
[11-Apr-2012 14:55:44] PHP Warning: file() [<a href='function.file'>function.file</a>]: Filename cannot be empty in /home/<user>/public_html/includes/osc_sec.php on line 636
[11-Apr-2012 14:55:44] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/<user>/public_html/includes/osc_sec.php:636) in /home/<user>/public_html/includes/functions/sessions.php on line 101
[11-Apr-2012 14:55:44] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/<user>/public_html/includes/osc_sec.php:636) in /home/<user>/public_html/includes/functions/sessions.php on line 101
[11-Apr-2012 14:55:44] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/<user>/public_html/includes/osc_sec.php:636) in Unknown on line 0
#462
Posted 11 April 2012 - 10:19 PM
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#463
Posted 12 April 2012 - 01:11 AM
Whats New?
- Fixed issues causing conflicts with some addons concerning the postShield() function
- Fixed issues causing conflicts with some addons concerning the ipTrap function
New Install instructions: see the readme.htm, as per usual, all updates contain the complete package
Updating: Replace the osc_sec.php file in your catalogs /includes/ directory with the one in the /includes/ directory of this zip file.
Please report any bugs to the discussion forums at http://goo.gl/dQ3jH or email rohepotae@gmail.com
Download from: http://addons.oscommerce.com/info/8283
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#464
Posted 17 April 2012 - 09:50 PM
I was receiving no emails from osC_Sec to help me nail it, despite the fact that it is enabled.
I was able to see the xml file in my browser just fine. To be able to supply them with the feed, I have to keep the osC_Sec disabled at the moment. Any idea please?
#465
Posted 18 April 2012 - 12:30 AM
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#466
Posted 01 May 2012 - 07:13 AM
Does osc_sec stop 2 question marks being included in the URL?
Google is trying to see this page *************.php?product_info.php?cPath************
But it is finding ***********.phpproduct_info.php?cPath************
EDIT, Taipo, thinking about it, I dont think osc_sec has anything to do with the problem because I can type in the ? and the page opens.
Ill open a new thread
Edited by RMD27, 01 May 2012 - 07:26 AM.
#467
Posted 03 May 2012 - 11:04 AM
Upgraded to the latest version and have found that a few genuine customers are being IP Trap banned with the following as reason for the ban:
osC_Sec blacklist hex encoded query_string value is banned: %%.
What is this checking for or what could be causing it ?
Many Thanks
If you want to see the mods I have installed, then see my profile.
#468
Posted 04 May 2012 - 09:12 PM
RMD27, on 01 May 2012 - 07:13 AM, said:
Does osc_sec stop 2 question marks being included in the URL?
Google is trying to see this page *************.php?product_info.php?cPath************
But it is finding ***********.phpproduct_info.php?cPath************
EDIT, Taipo, thinking about it, I dont think osc_sec has anything to do with the problem because I can type in the ? and the page opens.
Ill open a new thread
Perhaps it may be linked to Security Pro as that does rewrite the $_GET global.
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#469
Posted 04 May 2012 - 09:14 PM
Mort-lemur, on 03 May 2012 - 11:04 AM, said:
Upgraded to the latest version and have found that a few genuine customers are being IP Trap banned with the following as reason for the ban:
osC_Sec blacklist hex encoded query_string value is banned: %%.
What is this checking for or what could be causing it ?
Many Thanks
Can you PM me the entire email notification please.
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#470
Posted 05 May 2012 - 11:26 AM
Sent you the email text by pm.
The %% ban seems to be trapping quite a few visitors, maybe even googlebot - so I daily clean the IP trap trapped.txt file just in case.
Thanks
If you want to see the mods I have installed, then see my profile.
#471
Posted 05 May 2012 - 01:33 PM
Okay I looked into this issue again because I was not able to access the modules box in the admin
I completely removed the.htaccess hardening code that you wrote and I can access the modules box and as a bonus, the translate also works now!
My question now, if you have time, do you think you could see whats up with the .htaccess? I was looking incidences of & and = but I see they are featured a lot in the .htaccess file so I cant work out whats what.
#472
Posted 05 May 2012 - 01:38 PM
RMD27, on 05 May 2012 - 01:33 PM, said:
Okay I looked into this issue again because I was not able to access the modules box in the admin
I completely removed the.htaccess hardening code that you wrote and I can access the modules box and as a bonus, the translate also works now!
My question now, if you have time, do you think you could see whats up with the .htaccess? I was looking incidences of & and = but I see they are featured a lot in the .htaccess file so I cant work out whats what.
actually, scratch that, the translation works now regardless of the htaccess, its just the modules box that is effected by the htaccess
#473
Posted 05 May 2012 - 02:21 PM
Mort-lemur, on 05 May 2012 - 11:26 AM, said:
Sent you the email text by pm.
The %% ban seems to be trapping quite a few visitors, maybe even googlebot - so I daily clean the IP trap trapped.txt file just in case.
Thanks
osc_sec creates a trapped.txt file? if so where would I find it???
Edited by RMD27, 05 May 2012 - 02:21 PM.
#474
Posted 05 May 2012 - 04:28 PM
You can select OSC SEC to ban IPs be either .htaccess or by using the IP Trap as I have done.
If you want to see the mods I have installed, then see my profile.
#475
Posted 06 May 2012 - 07:09 PM
Mort-lemur, on 05 May 2012 - 11:26 AM, said:
Sent you the email text by pm.
The %% ban seems to be trapping quite a few visitors, maybe even googlebot - so I daily clean the IP trap trapped.txt file just in case.
Thanks
Try the latest update Heather
http://addons.oscommerce.com/info/8283
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#476
Posted 06 May 2012 - 07:59 PM
Thanks Taipo - Just uploaded the latest version and will let you know how it goes.
Many Thanks
If you want to see the mods I have installed, then see my profile.
#477
Posted 08 May 2012 - 09:38 AM
Hi Again Taipo,
Installed the latest version and would just comment on the following:
When I first accessed my admin this morning and clicked on one of the customers in "whos Online" to see what they had in their basket I was banned from the site and added to the IP trap.
This happened around 4 times and then I was able to access without problem.
Again I received emails from OSC SEC stating that the hex filtering had banned me.
I can send you the email text again if you like.
Many Thanks
If you want to see the mods I have installed, then see my profile.
#478
Posted 08 May 2012 - 07:20 PM
- 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
- Aegis Security: New security addon I am developing, a remake of osC_Sec in PHP 5 with a number of fixes
#479
Posted 15 May 2012 - 09:55 AM
I installed the latest version of osc_sec
Now i cannot access my site anymore, both admin and “live”
At first, it also generated problems in logoff.php
Fatal error: Maximum execution time of 30 seconds exceeded in /home/admin/domains/gewoongezond.be/public_html/includes/osc_sec.php on line 590
Any ideas?
Michiel Lap
#480
Posted 15 May 2012 - 09:29 PM
gewoon09, on 15 May 2012 - 09:55 AM, said:
I installed the latest version of osc_sec
Now i cannot access my site anymore, both admin and “live”
At first, it also generated problems in logoff.php
Fatal error: Maximum execution time of 30 seconds exceeded in /home/admin/domains/gewoongezond.be/public_html/includes/osc_sec.php on line 590
Any ideas?
Michiel Lap
same type of issue here, i have just updated 5 sites.
osc v2.2, 1 works ok, the other wont load
osc v2.3.1, 2 work 1 will not load - 3 identical sites/code also all on same server.









