Risks of FCKeditor Vulnerability in ColdFusion 8
By Pete Freitag
I've had a chance to look at the FCKeditor code a little bit in order to determine what the risks actually are of this vulnerability.
If you look at the code a bit you can see that it limits uploads by file extension, and doesn't rely on the
cffile accept mime type attribute, that's a good start. So at first glance it appears that a hacker could upload images, movies, zip files, and swf files (which would pose a XSS risk). This basically turns you server into a hacker's own personal file server (with limited file extension support). But there are additional risks!
I'm not going to disclose how I did it right now, but I was able to upload and run a cfm file. The problem still exists in the FCKeditor 126.96.36.199 security update that was released today, I have notified them about the issue. I have also notified some folks at Adobe to make sure that they address this issue in their hotfix as well.
So I would recommend you keep the file manager out of your FCKeditor installations, and ofcourse from your CF8 /CFIDE/scripts installation.
Just another reminder here's a link to my Security Tips for Uploading Files with ColdFusion.
Update: Fixinator can detect vulnerable versions of FCKEditor in your ColdFusion code. In addition to detecting vulnerable versions of FCKEditor, it also looks for other known vulnerable third party libraries. You can run fixinator in CI, so it scans your code for vulnerabilities every time you commit to source control.
Risks of FCKeditor Vulnerability in ColdFusion 8 was first published on July 06, 2009.
If you like reading about fckeditor, security, coldfusion, upload, cffile, or xss then you might also like:
- Hotfix for CF8 FCKeditor Vulnerability Released
- ColdFusion 8 FCKeditor Vulnerability
- FCKeditor Access Denied
- Tips for Secure File Uploads with ColdFusion
The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.