Find the answer to your Linux question:
Results 1 to 3 of 3
Hello, I noticed that my pages are being modified, Javascript is added that calls a script on an off-site server that will load a PDF file without the user's permission. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    2

    Pages are being modified?


    Hello,

    I noticed that my pages are being modified, Javascript is added that calls a script on an off-site server that will load a PDF file without the user's permission. My question is: how can anyone gain access to write to my files? Can it be that I have a virus running on my server? Or maybe my FTP server has been compromised? If that is the case, how can I conform it?

    Thanks a lot in advance.

  2. #2
    Just Joined!
    Join Date
    Nov 2009
    Posts
    1
    Hi,

    Some time ago I witnessed a similar invented, a website of a friend was injected with some html/javascript (can't remember what it did). Long story short I came to the conclusion that a webhost or something in that lines was hacked and the accounts in that server where then injected with the javascript.

    So, is your webpage in your own private server or in some webhosting company's server?

    Also could you post (or describe) the contents of the javascript and pdf file?

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,487
    It could be an xss attack which is where some one injects some javascript in to your web site forms. The only way to stop it is to validate, validate and validate some more. The specific prevention techniques depend on the language the site is written in.

    Cross site scripting can be nasty

    Some more information
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    Conkybots: Interactive plugins for your Conkys!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •