Macromedia Coldfusion MX 7.0 Security Advisory 21 April 2005 Remote Vulnerabilities in Macromedia ColdFusion cfm files Synopsis: Dr_insane has discovered some remote vulnerabilities in Macromedia ColdFusion 7.0.ColdFusion is an enterprise application used to develop, maintain, administer, and deliver Web sites on the Internet.The vulnerabilities allow a remote attacker to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site as well as to perform some denial of service attacks. Affected Systems: ColdFusion Server for Windows 7.0 Description: Three years ago a similar vulnerability had surfaced in ColdFusion Server version 6.0.0.46617. The problem was that Macromedia's ColdFusion MX comes with a default 404 error page.This 404 error page presents the path of the file requested, and was not filtering it for hazardous characters, which could be used for a cross site scripting attack. eg. http://CF_MX_SERVER/.cfm This bug has been fixed in version 7.0 but it is still possible using some malformed url to conduct such kind of attacks. This time in order to perform the attack you must request from the server a non-existence CFM file following by a %00 and the script code you want to execute. Examples: http://127.0.0.1:8500/../../../../../../../.cfm.%00Microsoft%20Site http://127.0.0.1:8500/.cfm%00 http://127.0.0.1:8500/.cfm%00 http://127.0.0.1:8500/.cfm%00 http://127.0.0.1:8500/.cfm%00 http://127.0.0.1:8500/.cfm%00