Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Something Odd On My Site......
Chesso
post Aug 29 2006, 01:19 AM
Post #1


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



I went to check out my site today and low and behold, some spyware try loading itself and some .wmv file tryed to run from the main page....

I was like "wtf mate lol", anyway I went into my cpanel file manager and checked out the index files source and someone has managed to add an iframe to the end of the source going to some advertising rubbish or some such.

Is there anyway people can do this without my login details? If not can I request a change of password somehow blink.gif
Go to the top of the page
 
+Quote Post
dhanesh
post Aug 29 2006, 05:09 AM
Post #2


Binary Geek
Group Icon

Group: Members
Posts: 444
Joined: 4-November 05
From: The Digital Arena
Member No.: 9,440



>> LINK <<

Check the above link, recently posted my m^e. A Similar problem had happend at asta, and its believed to be the advertiser who is at fault. Check the post and see if that helps.

Regards
Dhanesh.
Go to the top of the page
 
+Quote Post
Chesso
post Aug 29 2006, 07:02 AM
Post #3


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



Mine wasn't that site but a similar problem that it is via an iframe, but it was many websites, about 8/10. None of them to my knowledge were the one listed in that main post.

It hasn't seem to have come back yet and it's the first time it has happened since I have been here, about 5+months.

Could it be to do with the google ads on my site or something? It's a bit weird because it was directly injected into the main index file itself.
Go to the top of the page
 
+Quote Post
Chesso
post Aug 29 2006, 12:05 PM
Post #4


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



Sorry for the double post.

It has happened again, and some functions.php file keeps appearing in my main site folder that is 158kb's.

The site the iframe linked to this time is (http://www.brucemeisterman.com/) which I checked out and is just some photographer site or something.

I reset my password for cpanel and removed my mysql account but for some reason I cannot gain access to my cpanel now to re-setup user for the database (it wouldn't let me modify only delete so I had to delete and then try to re-create with new password).

Whew what a pain heh.

EDIT: Hmmm mysql from cpanel won't even let me create a new user now or database (it seems it completely removed the old one...... luckily I keep this stuff backed up heh heh tongue.gif).

EDIT: Ok I have managed to re-setup the database user with new password, got no idea why it wasn't working before but it's mysteriously started working *shrugs*. I have also went and password protected all my folders so they can't be viewable and will fail unless an index file is present in them heh heh oh and all the password resetting of course.

If it happens again than I have no idea how they managed it lol.

This post has been edited by Chesso: Aug 29 2006, 12:27 PM
Go to the top of the page
 
+Quote Post
vujsa
post Aug 29 2006, 03:17 PM
Post #5


Absolute Newbie
Group Icon

Group: Admin
Posts: 887
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714



Be sure to set the permissions on your template directory correctly.

I had a problem in Mambo once where I used the built in editor to edit my templates which required that I set the permissions on the folder and files to 777. I stopped using the internal editor and left my files read only and haven't had any problems since.

That is the only way I can think of to directly edit your file to insert an iframe into a file.

Hope you don't have any more problems with this.

vujsa
Go to the top of the page
 
+Quote Post
Chesso
post Aug 29 2006, 03:24 PM
Post #6


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



I don't use any of that mambo and template stuff. It's call done from scratch tongue.gif.

But I think I know what you mean, I don't really need write permissions of any files except besides from the cpanel file manager, that wouldn't be affected?
Go to the top of the page
 
+Quote Post
CaptainRon
post Aug 30 2006, 06:59 AM
Post #7


Premium Member
Group Icon

Group: Members
Posts: 238
Joined: 9-September 05
Member No.: 8,400



OMG, this has triggered some serious thoughts with myself. I had given 777 permissions to certain folders since a php scripts requires it to be that way....

I will write away change it back to 755 smile.gif
Go to the top of the page
 
+Quote Post
nightfox
post Aug 31 2006, 02:01 AM
Post #8


NiGHTFoX - Hiding in the dark
Group Icon

Group: Members
Posts: 680
Joined: 3-April 05
Member No.: 3,584



QUOTE(CaptainRon @ Aug 30 2006, 02:59 AM) *

OMG, this has triggered some serious thoughts with myself. I had given 777 permissions to certain folders since a php scripts requires it to be that way....

I will write away change it back to 755 smile.gif

Don't do it unless you're positive you can. Some scripts will not function unless the files and/or folders are CHMODed to 777. Configuration scripts should NEVER be set to 777 unless they're blank and the installer needs to right to them but after that you should set the permissions back.

But like you said, "I had given 777 permissions to certain folders since a php script requires it to be that way...."
Keywords in bold. It must require it, so don't change the permissions. The script probably needs to write, read and execute to files inside those folders. The script will probably have limited functionality if you did this.

Upload folders MUST have 777 permission or else no one could upload stuff. The server would reject all uploads through the browser.

Just consult the manual (or installation guide) about file permissions.

NEVER give your public_html directory full permissions either.

[N]F
Go to the top of the page
 
+Quote Post
cyborgxxi
post Sep 3 2006, 03:12 PM
Post #9


Premium Member
Group Icon

Group: Members
Posts: 342
Joined: 31-July 05
Member No.: 7,540



So, are you having any more problems lately? Hehe, always keep your watch over those security holes!! It's always easy to overlook them and wow... it must suck when you have those huge files 158kbps in your storage. Haha, I've had odd things happen to my site too.

Actually, my SQL files and databases we're messed up and I couldn't access the software!! Not even the panel... and doh! I had to uninstall (more like reformat) the software... well by deleting everything from my Astahost account drive and reinstalling the webboard software.

So, I have to say KUDOS FOR YOU!!! Backups are always great to have and more the merrier... and better if you have 'em every week or so smile.gif
Go to the top of the page
 
+Quote Post
Chesso
post Sep 6 2006, 02:53 PM
Post #10


Teh Coder
Group Icon

Group: Members
Posts: 1,053
Joined: 18-April 06
From: Australia
Member No.: 12,833



Well I test everything locally and use a somewhat identical content database, plus I wrote everything from scratch and it's pretty lean.

So if something got bunged that bad, I can just nuke and re-upload (re-run sql) in a couple of minutes and I'm back up again *shrugs* heh heh smile.gif.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Add A Search Box To My Web Site(10)
  2. Good Places To Advertise Your Site(20)
  3. Flash Site Software(11)
  4. Visit My Site, Internet Stops For A While(8)
  5. Www.modthesims2.com - Sims 2 Mods Site(8)
  6. Hack This Site(28)
  7. Create A Site Without Cms But Just Dreamweaver?(6)
  8. Add A Forum To Your Site(23)
  9. Please Hack My Site(23)
  10. Sparkx Website(3)
  11. What Is The Best Photo Sharing Site?(15)
  12. How To Create Your Own Proxy Site (free And Easy)(13)
  13. Can't Access Any Site Hosted On The Server(4)
  14. Site Will Not Load, I Can Not Get To The Cpanel(6)
  15. Website Navigation Hover Buttons Stick So Made Css Today(7)
  1. Love Calculator(1)
  2. Integrate Access Database Onto Intranet Site(5)
  3. Youtube Videos(4)
  4. Site Link Analyzer Tool(1)
  5. Web Host Review Site(0)
  6. Does This Site Mean Anything To Us…i Don’t Know U Tell Me?(4)
  7. My Site Got Hacked!(9)
  8. Site Down Again, Help Or Suggestions?(6)
  9. Time Travel?(1)
  10. Main Trap17 Site Is Down?(0)
  11. Request Form Site Suspended(4)
  12. Free Site(3)
  13. A Site I Put Together Over The Last 3 Days(4)


 



- Lo-Fi Version Time is now: 30th August 2008 - 09:38 AM