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
- HashDOS and ColdFusion - December 31, 2011
- HackMyCF Updated for APSB11-29 Security Hotfix - December 15, 2011
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.
Post a Comment
Recent Entries
- Nginx redirect www to non www domain
- HashDOS and ColdFusion
- HackMyCF Updated for APSB11-29 Security Hotfix
- Adobe eSeminar on FuseGuard
- Determining Which Cumulative Hotfixes are Installed on ColdFusion
- Adding Two Factor Authentication to ColdFusion Administrator
- ColdFusion Developer Week at Adobe.com
- Bug Loading Scripts for CFFileUpload and CFMediaPlayer


add to del.icio.us



