This is a discussion on POST exploit ? within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I am still using 2.0.3 RC4, I haven't had time to set up a new store under 2.2, but I ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I am still using 2.0.3 RC4, I haven't had time to set up a new store under 2.2, but I have tried to perform all the security changes that have been recommended. In the last couple days, I have observed my mail server sending out a bunch of spam, and finally traced it to somebody using an http POST transfer to .../catalog/images/yahoo/index.php My quick fix was to rename the yahoo directory to a random string, as I don't use the Yahoo interface. Eventually, the spammer will figure out another php script that he can pull the same stunt on. Does anyone know exactly what is going on here, and how to prevent POST operations from being performed like this? I assume I have a security weakness somewhere in my system, but I'm not an expert in this stuff. Thanks, Jon |
|
#2
| ||||
| ||||
| There is no such version 2.0.3 RC4 of osCMax. You are either running 2.0 RC4 or 2.0.3 Stable. Please confirm the version you are actually running. If RC4 there are exploits that need to be fixed. The images/yahoo folder is NOT part of osCMax, so delete it. Next, look for any other php files in your images folder and delete them. They are not part of osCMax.
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#3
| |||
| |||
| Well, server information says 2.0.3, but I distinctly remember using a special version that allowed you to run with register_globals off. I am running with register_globals off, but maybe I updated to 2.0.3 because it also could run with that setting off. Anyway, I *THINK* I have found the problem, not osCMax at all except that the only reason I have php is for the web store. There is another php setting, allow_url_fopen that was on by default. it appears to not be required by osCMax, and permits users to inject arbitrary external files into php scripts when they are called up. I have set this to off, but can't tell for sure whether this has fixed the problem as the spammers are still trying to use the now deleted files. Anyway, this appears to be a pretty dangerous option to have on by default. Thanks for the info, Jon |
|
#4
| ||||
| ||||
| Quote:
Check to see if you have this in your admin/includes/application_top.php: r169 - oscmax2 - Project Hosting on Google Code
__________________ Michael Sasek osCMax Developer *** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers *** Stay Up To Date with everything osCMax: Free osCMax Newsletters - Security notices, New Releases, osCMax News osCMax on Twitter - Up to the minute info as it happens. Know it first. osCMax User Manual - osCMax Templates - Advanced Template Tutorial |
|
#5
| |||
| |||
| I must have had 2.0, then went to the RC4 version so I could turn register_globals off, and then must have upgraded to 2.0.3 So, I'm pretty sure it was an upgrade, not a clean install. I certainly did not re-build the store manually. Yes, I have that version of application_top.php, at least judging from the time stamp at the beginning of the file. Anyway, the hackers are not accomplishing anything now, as all their POST commands are pinting to files that don't exist. I don't know when, or if, they will catch on to this. Thanks, Jon |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| osCMax Security Update - Arbitrary Upload Exploit | michael_s | Announcement Discussions | 16 | 09-29-2008 09:25 AM |
| Canada Post Automated Labels 2.0 AND Canada Post Shipping Module 4.0 | michael_s | New osCommerce Contributions | 0 | 04-18-2008 04:40 AM |
| Canada Post Automated Labels 2.0 AND Canada Post Shipping Module 4.0 | michael_s | New osCommerce Contributions | 1 | 04-10-2008 01:21 PM |
| Product post adding extra character to post | dragonkeeper1973 | osCMax v2 Customization/Mods | 1 | 02-02-2007 09:59 AM |
| Possible security exploit | brendanl79 | osCMax v2 Customization/Mods | 0 | 10-13-2006 03:11 PM |