Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ My site now is a Phishing site/Hacked :: Archived


My site now is a Phishing site/Hacked :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Wed Nov 07, 2007 10:15 pm
Post subject: Re: My site now is a Phishing site/Hacked

Mysticaly wrote:
any ideas ?

Now, what do i need to do to make it secure in all the other sites ?

1.
Probably your host has a chroot setup which means that PHP is executed with your UID (CGI mode) and not with the Apache UID.
This is the most secure way to prevent you from hacking the other people on the server, or even worse: you got hacked and the hacker hacks all other accounts.
Due to the server setup the crack is limited to your account.

2.
Another option could be that you can ls & mkdir in the other accounts directories, if so this it a W.T.F. (worse then failure) configuration and your host should shame himself (and i want to know who he is for blacklisting).

In case of #2 it is obvious but, in case of #1 it might result in a probable security issue with Dragonfly or one of the add-ons.

CHMOD the directory to 555 (read and execute only) and see what happens with test.php. It should give you a clue.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Mysticaly
Newbie
Newbie

Offline Offline
Joined: May 22, 2006
Posts: 30
Location: Norway, Halden
PostPosted: Thu Nov 08, 2007 5:08 am
Post subject: Re: My site now is a Phishing site/Hacked

No, the site in question is biaworld.com
This site is hosted by Fastname.no - But don't black list them yet, I have arranged for a phone call with a technician later today to see if we can solve this.

_________________
My sites powered by Dragonfly:
www.rainbowsix-vegas.net
www.biaworld.com
www.stalker-zone.com
www.truecombat.eu

Mysticaly's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux5 2.4.34/1.3.34/4.0.22/4.4.3-pl1-gentoo/9.1.2.1
Back to top
View user's profile Visit poster's website MSN Messenger
Mysticaly
Newbie
Newbie

Offline Offline
Joined: May 22, 2006
Posts: 30
Location: Norway, Halden
PostPosted: Thu Nov 08, 2007 5:24 am
Post subject: Re: My site now is a Phishing site/Hacked

DJ Maze wrote:
Mysticaly wrote:
any ideas ?

Now, what do i need to do to make it secure in all the other sites ?

1.
Probably your host has a chroot setup which means that PHP is executed with your UID (CGI mode) and not with the Apache UID.
This is the most secure way to prevent you from hacking the other people on the server, or even worse: you got hacked and the hacker hacks all other accounts.
Due to the server setup the crack is limited to your account.

2.
Another option could be that you can ls & mkdir in the other accounts directories, if so this it a W.T.F. (worse then failure) configuration and your host should shame himself (and i want to know who he is for blacklisting).

In case of #2 it is obvious but, in case of #1 it might result in a probable security issue with Dragonfly or one of the add-ons.

CHMOD the directory to 555 (read and execute only) and see what happens with test.php. It should give you a clue.

I have a feeling it's case 1. The gruop my www folder is in is users, I can not change group to i.e apache.

When I chmod to 555 test.php will not execute..

_________________
My sites powered by Dragonfly:
www.rainbowsix-vegas.net
www.biaworld.com
www.stalker-zone.com
www.truecombat.eu

Mysticaly's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux5 2.4.34/1.3.34/4.0.22/4.4.3-pl1-gentoo/9.1.2.1
Back to top
View user's profile Visit poster's website MSN Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Fri Nov 09, 2007 9:07 pm
Post subject: Re: My site now is a Phishing site/Hacked

Execute as in...? (error message, blank page, etc..)


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Mon Nov 12, 2007 8:34 pm
Post subject: Re: My site now is a Phishing site/Hacked

1. Who's the owner of test.php?
2. Who has permission in the directory? (Does the directory have execute permissions?)

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
Mysticaly
Newbie
Newbie

Offline Offline
Joined: May 22, 2006
Posts: 30
Location: Norway, Halden
PostPosted: Thu Dec 27, 2007 10:44 am
Post subject: Re: My site now is a Phishing site/Hacked

So, I have now been trying to get something sensible from the support from my host Fastname.no, not an easy task

Here is about what they had to say:
There is in no way a security hole that webusers can "write" to there webarea, this is necessary for lots of dynamic webapplications. The point is that the scripts he is using is not doing a proper validation and allows people to upload and run files trough the site.

Honestly the reply form my host doesn't make much sense, it seems they don't understand the problem fully.

I have tried to explain that there's no malicious files on my webhotel, and that there probably is malicious files on there servers which are execed remotely and which will then again create files on both the webhotel for biaworld.com and mysticaly.net at the same time.
I informed of the above in my latest e-mail to them, they did not even bother to reply to my concerns.

Blacklisting Fastname.no seems more and more like a good idea. I gave them the benefit of doubt and asked if Dragonflycms.org would not do this at that time however I have a strong feeling they will not work to solve my problems.

Edit: Before I forget, They have of-course blamed the CMS for my troubles, meaning Dragonfly, however it's funny, on the other site (mysticaly.net) I am running Seditio CMS and have the exact same problems there, and both sites will as said above be infected on about the same time. mysticaly.net hardly have anything more than the bundled package from Seditio on the webhotel, hardly any extra files at all (a few images of me and that's basically it)

DJ Maze wrote:
Execute as in...? (error message, blank page, etc..)
I believe it was "No permission error" and foobar.php where not created. 555 makes no other pages accessible to from my site.
I can not really test it, since the support actually closed my website (removed DNS I believe), they promised to put it up as soon as I removed the new phising files and replyed to there e-mail, they have yet not succeeded with putting it back online.

_________________
My sites powered by Dragonfly:
www.rainbowsix-vegas.net
www.biaworld.com
www.stalker-zone.com
www.truecombat.eu

Mysticaly's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux5 2.4.34/1.3.34/4.0.22/4.4.3-pl1-gentoo/9.1.2.1
Back to top
View user's profile Visit poster's website MSN Messenger
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Thu Jan 03, 2008 5:12 pm
Post subject: Re: My site now is a Phishing site/Hacked

Quote::
"There is in no way a security hole that webusers can "write" to there webarea, this is necessary for lots of dynamic webapplications. The point is that the scripts he is using is not doing a proper validation and allows people to upload and run files trough the site."

Can you validate this claim? Do you see HOW someone can upload files to your site and do you have the log/analysis of this information? What methods are you aware of for uploading files and how are you maintaining these uploads? Did the exploit occur as a result of files being uploaded legitametly by dragonfly?

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy