Hacked

  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 2972
  • Loc: Richland, WA
  • Status: Offline

Post January 16th, 2005, 1:16 pm

One of my webpages got hacked. And someone posted a link on it. Witch was a VERY Disturbing link, that i would not dare post on this forum OR any other forum AT ALL!. not even if you wanted to see what it was. Now my question is, though haccess is there a way to make it so you have to have a special thing on your link or any pictures for them to work.
Code: [ Download ] [ Select ]
index.php?goto=www.the_link.com
or links

and i dont know what i might do for pics.

Thank you
College Taught Me - And we're not talking about the classes!
@travisperson
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 16th, 2005, 1:16 pm

  • suzie
  • Guru
  • Guru
  • User avatar
  • Joined: Feb 07, 2004
  • Posts: 1110
  • Loc: England
  • Status: Offline

Post January 16th, 2005, 2:53 pm

I think you can set up error pages to direct to a 403 which is like a ban really for IP address/ hosts/ browser lots of things.
I have never done any but someone else will help you that knows about these things.
:)
  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Joined: May 17, 2004
  • Posts: 543
  • Loc: Riverdale, MD
  • Status: Offline

Post January 16th, 2005, 6:44 pm

not sure exactly what you're asking but, let me ask you a little bit about what your site's about and maybe securing it a little so it can't be hacked so easily.
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post January 16th, 2005, 11:30 pm

I don't think the site was hacked via something your did (or maybe it was) But for someone to add a link to your page to content you described would require (as far as I know) ftp access which means that someone (or possibly you only) on the server might have been compromised and if it is the case then they more than likely left some form of back door to gain entry when ever they like.

I would recommend reporting this to the host and finding out if they know anything.
My Software Development Company
Music I have recorded (fixed now :))
Image
  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Joined: May 17, 2004
  • Posts: 543
  • Loc: Riverdale, MD
  • Status: Offline

Post January 17th, 2005, 9:15 pm

I was wondering if the site was database driven and if this could have caused the problem through someone getting access to the database..
  • Rabid Dog
  • Cheese Monkey
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3188
  • Loc: South Africa
  • Status: Offline

Post January 17th, 2005, 11:10 pm

Well is the site database driven?

Was the content damaged at all?

Don't worry about it, even the tour de france website was hacked :). If it was through your database maybe look at strengthening your username and password and make sure you escaoe all possible forms of sql injection attacks.

If in order to get the link there it was hard coded into the page then it more than likely means ftp access was gained
My Software Development Company
Music I have recorded (fixed now :))
Image
  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1101
  • Loc: Atlanta, GA
  • Status: Offline

Post January 18th, 2005, 2:40 pm

Or it could be he was using PN or some other CMS tool... They all have their own set of vulnerabilities... some db vulns, some file-based.

I think the first step is to simply take a look a the site itself...

Please post a link to your site so we can see what you're talking about.

Thanks
.c
CARE Defending Dignity :: Fighting Poverty
Learn more at http://www.care.org/
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 2972
  • Loc: Richland, WA
  • Status: Offline

Post January 18th, 2005, 3:15 pm

its not database driven,

http://www.theloshas.com
College Taught Me - And we're not talking about the classes!
@travisperson
  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1101
  • Loc: Atlanta, GA
  • Status: Offline

Post January 18th, 2005, 3:29 pm

Good band! (damn I miss the Seattle music scene...)

Anyway, hard to say how this happened. Maybe you had a 777 permission on your file, maybe someone got your FTP password, maybe some managed to exploit PHPBB (there are some vulnerabilities for that, make SURE you're running the most current version).

Change your FTP password, double check the permissions on all your files, they should be 655 (right? 633... 600... crap.. I can't remember now. Owner read/write/modify, group read and public read, NEVER public writable)

.c
CARE Defending Dignity :: Fighting Poverty
Learn more at http://www.care.org/
  • SpooF
  • Ice Cream
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 2972
  • Loc: Richland, WA
  • Status: Offline

Post January 19th, 2005, 10:13 pm

alright
College Taught Me - And we're not talking about the classes!
@travisperson
  • hmsims
  • Newbie
  • Newbie
  • User avatar
  • Joined: Apr 05, 2009
  • Posts: 9
  • Status: Offline

Post April 18th, 2009, 1:45 pm

Would be in agreement. The only way to actually change the page is to gain access to where it is hosted at. There are several vulnerabilities that have nothing to do with the coding of the page itself that could have been used to gain access to the page. If the host is compromised and access has been maintained by the attacker, then there is nothing much that can be done...it falls under the responsibility of the host. Inform them in as much detail in regards to your issue and request information as to what they found and what they plan to do about it. If you are hosting your own site, then that would be you. It is good advice to change all of your access (ftp) information, i.e. passwords. Remember if you can find your password(s) in a dictionary they can be cracked in moments. If your code had database interactivity then it is possible that the system was exploited in that manner.

There will be some upcoming tutorials dealing with these issues.
  • darkermoon
  • Expert
  • Expert
  • User avatar
  • Joined: May 17, 2004
  • Posts: 543
  • Loc: Riverdale, MD
  • Status: Offline

Post April 27th, 2009, 2:22 pm

you're um.. like four years and three months late man..

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 2 guests
  • 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 post attachments in this forum
 
 

© 2010 Unmelted, LLC. Driven by phpBB © 2010 phpBB Group.