TinyPortal

Development => Support => Topic started by: Zetan on January 09, 2012, 06:31:51 PM

Title: Site hack - FCK Editor removal
Post by: Zetan on January 09, 2012, 06:31:51 PM
Link to my site: www.slayingsteel.com
SMF version: SMF 1.1.16 (just updated)
TP version: 1.0.6 beta 2
Default Forum Language: English
Theme name and version: DsV1 Theme by DzinerStudio
Browser Name and Version: Chrome
Mods installed: available on request
Related Error messages: N/A

Hi there TPers, been a while, hope everyone is well.
My site was hacked recently, possibly via the FCK Editor. I have just updated SMF to the version listed above.

I now need to update TP, which I can do with a manual install. What I need to know is how to remove the FCK Editor and edit the files that call it. Is this for SMF Support (guessing it is) or TP?

I'm that out of the loop, treat me like a n00b  :P


Cheers, Z.
Title: Re: Site hack - FCK Editor removal
Post by: ZarPrime on January 16, 2012, 01:50:59 PM
Hi Chris,

Sorry for the delay in responding.  I've been a little busy over the last couple of weeks, well actually the last month or so. ;)

Unless I'm mistaken, the last version of TinyPortal that used the FCKeditor was beta 2 so there will be no calls to the editor in the latest version, meaning you should not need to do any edits to take out calls to the FCKeditor if you upgrade to the latest version of TP.  You might want to backup the FCKeditor folder in your site to your local computer (just for temporary archival purposes) but then you should just need to delete that folder from your site via FTP and everything will be OK.  Then just do the upgrade to TP 1.0 RC3 and you should be good to go.  LMK.

ZarPrime
Title: Re: Site hack - FCK Editor removal
Post by: IchBin on January 16, 2012, 08:38:15 PM
Geez Zetan, I have to say I was a little disappointed in your response to our "non-response" here. I had red this topic, and forgot to mark it unread when I didn't have the time to respond the first time. Thus, this topic went out of site and out of mind for me. Only to here about your PM to one of the others here. You couldn't give us a friendly bump here?...

As Zar pointed out, beta 2 was the last version for the fckeditor. After upgrading manually or through the package manager, the only thing you need to do is to remove the fckeditor folder.
Title: Re: Site hack - FCK Editor removal
Post by: agridoc on January 18, 2012, 05:11:14 AM
I would suggest, if no serious reason is present like very much needed mod(s), to upgrade to SMF 2.02 first.

TP for SMF 1.1x is not neglected but it's not so much tested as for 2.0x, so some not found bugs might exist.
Title: Re: Site hack - FCK Editor removal
Post by: mrph on January 26, 2012, 10:22:47 PM
I have had hack problem, i got php shell in folder public_html/forum/tp-images/File/dbc.php.pjpg

So my advice to other users of TP is to look into this folder and check its content.

But i delete and fckeditor for safety.
Title: Re: Site hack - FCK Editor removal
Post by: agridoc on January 27, 2012, 04:23:23 AM
You can add in .htaccess for this dir

RemoveHandler .php .php3 .phtml .cgi .fcgi .pl .fpl .shtml
Title: Re: Site hack - FCK Editor removal
Post by: mrph on January 27, 2012, 09:46:03 PM
Its already there ...