FCKeditor Access Denied
I have a client using the standalone FCKEditor on his server (not the one in /CFIDE/ it is located at /FCKeditor/), but after installing the security hotfix for ColdFusion 8's builtin FCKeditor, the file manager for uploading and inserting images stopped working. He was getting a JRun Servlet Error: 403 Access denied.
It turns out that hotfix (hf801-77218) will actually block any CFM request matching /fckeditor/editor/filemanager/ anywhere in the URI.
To bypass this feature you need to add the JVM argument: -Dcoldfusion.fckupload=true to your JVM arguments. This is found in the ColdFusion administrator under Java & JVM settings on Standard, or in the jvm.config file on Enterprise.
In general I think this is a good feature, though it probably will cause an issue with anyone who uses FCKeditor as outside of cftextarea.
Make sure when you enable FCKeditor's file connector that you do so in a secure manner. For example, don't just set config.enabled = true do something like this:
config.enabled = IsDefined("session.isAdminUser") AND session.isAdminUser;
Tweet
Related Entries
- Hotfix for CF8 FCKeditor Vulnerability Released - July 8, 2009
- Risks of FCKeditor Vulnerability in CF8 - July 6, 2009
- ColdFusion 8 FCKeditor Vulnerability - July 3, 2009
- J2EE Sessions in CF10 Uses Secure Cookies - April 5, 2013
- Learn about ColdFusion Security at cfObjective 2013 - March 6, 2013
Trackbacks
Comments
Tho it will soon be moot since I'll be upgrading to CKeditor just as Brian mentioned.
(Tho I guess it means I must go into CF9's CFIDE and manually fix it again. Oh well. )
In my config files I am doing:
if (IsDefined("Session.MM_Username") AND Session.MM_Username NEQ "") { config.enabled = true; } else { config.enabled = false; }
and I constantly get the disabled message, which is probably correct because I am probably not accessing the actual session information that I want.
In the Application.cfc the out of the box verificyClient() was not working so I had to remove it and thinking I could enable session variables I included:
<cfset this.sessionmanagement = "yes" /> <cfset this.clientmanagement = "yes" />
But everything is still disabled.
Is this still an issue with the fckeditor built into CF, doesn't this also get disabled in other ways too?
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us



