Jump to:

23472 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Can't stay Logged in to admin: Forbidden error: error saving page

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6
Go to End
Author Topic: 8047 Views
  • ryanwachtl
    Avatar
    Community Member
    46 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    There was some code echoing an iframe and loading content from http://goooogleadsence.biz/

    The code was inserted into

    cms/code/LeftAndMain.php

    cms/code/CMSMain.php

    The iframe html code was then appearing before the DocType on the site.

    Ryan

  • Yulia
    Avatar
    Community Member
    26 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    Ryan helped to figure out this one...

    the iframe from goooogleadsence(?) was created in cms/code/LeftAndMain.php
    cms/code/CMSMain.php at the end of the file and index.html at the end of the file. It wouldn't let me log in and created all sort of errors. It redirected the site to ebay store. I think the origin is on a server, but not 100% sure.

  • Yulia
    Avatar
    Community Member
    26 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    Right, i was just typing the same thing!

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    Crikey,

    How was someone able to write to those files? Take this up with your host. Sounds like the server is compromised.

  • yourjoomlapro
    Avatar
    Community Member
    2 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    Hi,

    This virus is not related to the host, but its related to client side malware.

    This can be detected through Avast (try free version and it works well). This malware gets the ftp details from the session, connects the site you last connected through ftp, downloads index.* (index.html, index.htm, index.php, index.aspx etc), inserts the iframe code and finally uploads back to the server.

    This malware can be detected by avas and your system will be free from that, but it doesnt cure the files on the server.

    To cure files on the server, I am trying to write a script from past few days and seems its going to work fine, just fine-tuning the script as of now and will be releasing it soon.

    The script is written in php file, so if you have php support on your server, this script is going to fix your problems.

    You can check back at www.yourjoomlapro.com for the release.

    Regards,

    Dave.

  • Yulia
    Avatar
    Community Member
    26 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    You are right,

    It seems to be not a host.
    I am pretty sure that it is not coming from my machine. The client has other sites running on the same account and i don't know who has an access to it... it could just spread out on my site? Or my machine? I have never dealt with things like that...

    I am running scan regularly, but i am trying to use Avast as well.

    your information is very helpful, i am very interested in that script you are writing!

    Thank you,

    Yulia

  • yourjoomlapro
    Avatar
    Community Member
    2 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    Hi,

    The fix for the same is here:

    http://www.yourjoomlapro.com/

    This would help to fix the errors on the files corrupted on the server. Though, the malware on your computer or any of your client's computer needs to be fixed. It must be on any of the computer.

    May be, checking the ftp log and ip would help you to trace the cause.

    Regards,

    Dave.

  • Yulia
    Avatar
    Community Member
    26 Posts

    Re: Can't stay Logged in to admin: Forbidden error: error saving page Link to this post

    thank you!

    btw, really like Avast.

    8047 Views
Page: 1 2 3 4 5 6
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.