Sanjay Mehrotra wrote
abstraction wrote
Sanjay Mehrotra wrote
Doesn't that look like if the PHP binaries are installed on IIS, IIS will parse the posted URL and process whatever is in the files?
|
Hi Sanjay,
I'm not sure I understand, maybe you could reiterate on that one a little? I am merely presuing the cause of why my website was hacked and I lost absolutely everything, this has happened twice with DotNetNuke and *never* when I have used a basic website created by myself using HTML / PHP / ASP so I can quite confidently say it's a security hole in the DNN framework.
|
Nick - not sure I understand the reasoning behind this has happened twice with DNN but never with a plain site and therefore DNN is the culprit? There are hundreds if not thousands of other things besides DNN that I can see as a potential source of a hack even when using DNN or not.
That being said, let me explain a little further about my post.
You indicated (in the other forum thread ) that you have turned off PHP on your box. I'm assuming that this means you'd installed PHP on top of IIS so that you could serve your PHP sites/functionality via your website (either the one that got hacked or maybe another site you have on your box)... Chances are that someone did a scan of your box and found you have PHP installed and noted that you did not have a patch for the vulnerability in question (which btw has been known since 2007 - over a year ago)...
I was able to find this information based on a very limited search I've done just this morning for PHP related vulnerabilities which unfortunately is not my area of expertise...
Sanjay
Well for a start, the previous time it happened it was on the same server with exactly the same system setup, I merely removed my own home baked website, and swapped it for a DNN one. Then within 5 months, everything was lost. Bare in mind that my own site had been running nicely for well over a year without any such incident occurring. These attacks look very automated as they are extremely regimental and apparently seem to try anyone with a DotNetNuke system, if DNN wasn't the case why would the robot have even been created? I'm looking at the most obvious cases here and I really can't see that enabling PHP on a web server could cause it to be hacked so easily.
I was not using PHP for anything, I just noticed that it was enabled, I don't need/want PHP, that's why I'm using DNN. I'm a dotnet developer and prefer it to all the other web technologies available.
My new site has only been up and running (fresh VPS) since June/July 2008 some time, so you are suggesting that a security hole found in 2007 was still present on my system? I shall have a check but will be quite surprised.
What I find quite amusing is that I have said I disabled PHP, but not proved what was the cause of my site being hacked, as I am treating it the same as all other custom modules, you are really willing to blame PHP, yet do not even want me to suggest that a DNN module is at fault, do you not think that's a little bit hypocritical? I have to look at the entire picture, which is what I'm doing.