Leaving FCKEditor enaled

View: New views
3 Messages — Rating Filter:   Alert me  

Leaving FCKEditor enaled

by Brian McCairn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Just for the sake of argument, if you were crazy enough to leave FCKEditor enabled to allow image uploads, do you think the following would leave you secure?

Change allowed file types in connectors/cfm config.cfm to:

        //Allowed Resource Types
        Config.ConfigAllowedTypes = "Image" ;



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4

Re: Leaving FCKEditor enaled

by Ian Skinner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Brian McCairn wrote:
> Just for the sake of argument, if you were crazy enough to leave FCKEditor enabled to allow image uploads, do you think the following would leave you secure?
>
> Change allowed file types in connectors/cfm config.cfm to:
>
> //Allowed Resource Types
> Config.ConfigAllowedTypes = "Image" ;
I would *also* make user the images are uploaded to a directory outside
of the webroot.  That this directory is not configured to allow
execution of files.  And double or triple check the file type of any
uploaded content before moving it any web accessible location.

Ya know, the best practices that have been espoused several times already.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4

Re: Leaving FCKEditor enaled

by Ian Skinner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ian Skinner wrote:
>
> ...make XuserX the...
...make sure the...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.4