Arcade Website Hacked - Need Help!

Discussion in 'Programming' started by klubz, Jan 27, 2009.

  1. #1
    Hi, I have a website www.MadAboutArcadeGames.com. Some time ago it was hacked into and a redirection was set up to transfer users to another site...I have checked all the obvious things within the index page and the CPanel hosting for redirects but this does not seem to be the issue...I was told that an entry may have been placed into the database to cause this but could not find anything (I am not good with databases though)! It goes to load the site but then the redirection takes place...Please let me know if you could fix this for me...I also have another indentical site with the same issue...Many thanks and regards Carl
     
    klubz, Jan 27, 2009 IP
  2. infogle

    infogle Prominent Member

    Messages:
    2,732
    Likes Received:
    128
    Best Answers:
    1
    Trophy Points:
    300
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    let me see your database then only i would be able to comment where is the issue...
     
    infogle, Jan 27, 2009 IP
  3. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Is it resolved? I'm not redirected to another site now.
     
    chmdznr, Jan 27, 2009 IP
  4. ade92uk

    ade92uk Banned

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Says account suspended
     
    ade92uk, Jan 27, 2009 IP
  5. GreenWithEnvy

    GreenWithEnvy Active Member

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    I'd be willing to take a look at it. I'd only charge ten dollars if I succeed.

    Let me know ASAP so I can investigate.


    Cheers

    Matt
     
    GreenWithEnvy, Jan 27, 2009 IP
  6. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    It does say "Account Suspended"...This is because it is directing to another website, which has since been suspended...You will notice it tried to load the site and is then directed away...
     
    klubz, Jan 28, 2009 IP
  7. Mobile-Monster

    Mobile-Monster Well-Known Member

    Messages:
    862
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    105
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    If i can have the privilege to get access to your file and DB ..

    Best Regards,
    MM
     
    Mobile-Monster, Jan 28, 2009 IP
  8. SteveWh

    SteveWh Member

    Messages:
    74
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    When a redirect is occurring, the first place to look is usually .htaccess to see if it got modified by a hack.

    However, on your home page (and maybe others) are several instances of the following code between script tags:

    javascript : document.location="hxxp://www.{AnotherWebsite(not yours)}.com/hacked.html";

    There are two in the Sponsored Links section, one inside the div: class='menuheadblue'.

    (Since this is JS, only users who have JavaScript enabled will get redirected.)

    There is a security alert about arcadebuilder 1.7 at http://secunia.com/advisories/25916/.
    It describes a vulnerability to SQL injection, which does seem to imply that the bad code is stored in your database and may be getting onto the pages from there.

    (Check the source code of the page on your server first, though, to make sure it isn't hard-coded into the page. That would imply you had a different kind of attack.)

    Even if you clean the database, it won't help unless you also upgrade your arcadebuilder software to the latest version (or apply the "vendor patch", however arcadebuilder handles upgrades).
     
    SteveWh, Jan 29, 2009 IP
  9. Tectonicz

    Tectonicz Peon

    Messages:
    88
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    Hi, Your site has not been hacked it is still functional FF > Tools > Options > Content > Disable Javascript

    Its a simple javascript redirection code. Remove this "javascript:document.location="http://www.va{remove this}gifart.com/hacked.html";" line of code off your source and then check to see if the site works again.

    [​IMG]


    The whois information of the site which your site redirects too, is available here: http://who.is/whois-com/ip-address/vagifart.com/
     
    Tectonicz, Jan 29, 2009 IP
  10. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    So, finally, I'm not the only one here that didn't get redirection. That's maybe I'm using NoScript addon.

    Here's piece of code that affect redirection:
    
    You have 3 credits left before you must log in or <a href='http://www.madaboutarcadegames.com/register/register.html' class='cmenulink'><b>register</b></a>.</div>
    </div><div class='menuheadblue'>
     <div class='menuheadtext'>Sponsored Links</div>
    </div>&nbsp;&nbsp;
    <script>javascript:document.location="http://www.vagifart.com/hacked.html";</script><p>
    </br>
    <script>javascript:document.location="http://www.vagifart.com/hacked.html";</script>p>
    
    <div class='membersmenu'><div class='sidemenucontent' style='text-align: center;'>
    
     <b>Top Players</b>
    </div>
    
    
    HTML:
     
    chmdznr, Jan 29, 2009 IP
  11. manjifera

    manjifera Well-Known Member

    Messages:
    232
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    Here is one line ans as per me! Just chk your included files! For the bottom links! or coding for that as this is affects on all pages! Its related to links section.
     
    manjifera, Jan 29, 2009 IP
  12. manjifera

    manjifera Well-Known Member

    Messages:
    232
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    I just fixed the issue! looking for 2nd site!!
     
    manjifera, Jan 29, 2009 IP
  13. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    check the database
     
    atlantaazfinest, Jan 29, 2009 IP
  14. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #14
    Many thanks too everyone who has posted on this post...It looks like the database has been wiped also, so I need to restore the database now...Somehow if I have a backup!
     
    klubz, Jan 30, 2009 IP