Some kind of WMF exploit.
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexSecurity
Author Message
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Some kind of WMF exploit.
Posted: Wed Sep 27, 2006 5:35 pm
Reply with quote

Here is a copy of a support ticket I just raised to my webhost and their reply.

Quote:
Hi,

I just went on my own website www.norbie.co.uk/index.php and got infected with a virus or some kind of Java exploit!

I looked in the source code and found this in it which I obviously did not put there!

Please view it in this text file, as I do not want it to exploit your computers!

www.norbie.co.uk/exploit.txt

How did that get into my PHP file?
Security is very tight this end, my password is unknown to anyone (I have changed it now though for added security), I do not have keyloggers or such and no-one apart from me has FTP access to that section of my account.

How did this happen?

Quote:
Hello Andrew,

It is hard to say excactly. However in all other cases that I have see in similar cases such exploits has gotten in via unsecure scripts.

I'm most cases via PHP Nuke, phpBB or similar systems. If you use such scripts I would advice you to check if it is fully updated with the newest patches.

I'm not at all blaming Dragonfly, but it's one of the scripts I have installed on that domain - although in a subfolder and does not have FTP access to anything.

Are there any known problems in Dragonfly that could have done this?

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
jeffk
Supporter


Joined: Jun 21, 2004
Posts: 323

PostPost subject: Re: Some kind of WMF exploit.
Posted: Wed Sep 27, 2006 7:31 pm
Reply with quote

i had similar thing , an iframe put itno the index.php . the thread is in this forum
_________________
CMS Version 9.1.2.1
PHP Version 4.4.4
MySQL Version 4.1.22-standard (client: 4.1.22)

jeffk's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
CMS Version 9.1.2.1HP Version 4.4.4MySQL Version 4.1.22-standard (client: 4.1.22
Back to top
View user's profile Visit poster's website MSN Messenger
xfsunoles
XHTML Specialist


Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida

PostPost subject: Re: Some kind of WMF exploit.
Posted: Wed Sep 27, 2006 9:08 pm
Reply with quote

i had similar thing, if a hacker got access to root server then they can change many file they want.
_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Some kind of WMF exploit.
Posted: Wed Sep 27, 2006 10:37 pm
Reply with quote

Two replies within a couple of hours lead me to believe this is not a coincidence...
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
dormouse
Newbie


Joined: Aug 31, 2005
Posts: 37

PostPost subject: Re: Some kind of WMF exploit.
Posted: Thu Sep 28, 2006 1:11 am
Reply with quote

www.webhostingtalk.com...p?t=549291
www.webhostingtalk.com...p?t=549458
www.webhostingtalk.com...p?t=549708
www.webhostingtalk.com...p?t=549803

Major cpanel exploit; servers compromised for long time before hackers activated their virues etc; unknown number of compromised servers exist even if cpanel has bolted the stable door.


dormouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.39/4.1.22/4.4.7/9.2.0
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Some kind of WMF exploit.
Posted: Thu Sep 28, 2006 6:35 am
Reply with quote

I don't have cPanel installed.
_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
alva
1000+ Posts Club


Joined: May 31, 2005
Posts: 1150
Location: The Netherlands

PostPost subject: Re: Some kind of WMF exploit.
Posted: Thu Sep 28, 2006 12:08 pm
Reply with quote

I was wondering...

If it's not a server problem than perhaps a third party module problem. You have a lot of them. Even if 9.1.0.8. has some global input checking mechanisms I really don't know if it will stop all XSS attempts through insecure modules.

Would the $MAIN_CFG['global']['block_frames'] setting stop this kind of iframe code? (What is your block_frames setting?)

EDIT: I was looking at your WWW, and only just checked the defaced one. So they changed your index.php. Hmmm, if through a third party module, then I guess it must have been a module that uses file write...


alva's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/5.0.24/5/9.1 CVS
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Some kind of WMF exploit.
Posted: Thu Sep 28, 2006 12:22 pm
Reply with quote

the main problem reside when your website is on a "shared server". Users from their /home directory can lanuch attacks to other /home/~/*/index.(html|htm|php|asp).

It does not metter if you use cpanel, webmin or nothing at all; permitting access to more then one users needs a dedicated System Administrator with lot of experince to avoid similar exploits.

Sometimes if only one user had installed an not-patched phpbb forums (phpbb.com) it can lead to those kind of problems where lot of website get hacked simultanously.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
norbie
Silver Supporter


Joined: Jun 29, 2004
Posts: 737
Location: Norbie's World

PostPost subject: Re: Some kind of WMF exploit.
Posted: Thu Sep 28, 2006 7:41 pm
Reply with quote

The file hacked was www.norbie.co.uk/index.php

Dragonfly is hosted at www.norbiesworld.co.uk but on the same server.

_________________
Norbie

www.norbiesworld.co.uk

norbie's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache Custom Version / 4.0.26-standard (client: 5.0.15) / 4.4.4 / 9.1.1
Back to top
View user's profile Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexSecurity All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
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

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


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
This page generated in 0.362 seconds with 19 DB Queries in 0.0357 seconds
Memory Usage: 2.96 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy