lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
Order Openwall GNU/*/Linux 2.0 on a CD with delivery worldwide
[<prev] [next>] [month] [year] [list]
Date: 5 Feb 2007 00:26:29 -0000
From: digi7al64@...il.com
To: bugtraq@...urityfocus.com
Subject: Cold Fusion Web Server XSS 0 day

Title: Cold Fusion Web Server XSS 0 day
Own3d by: digi7al64
thx: WhiteAcid
About: Default settings in Cold Fusion server ensure it returns a standardized error page whenever a exception occurs (404,500 etc). This page then echos the user agent, ip and referer back to the user for debugging purposes. Unfortunately though, whilst the referer is encoded to stop xss, the user agent isn't. Hence spoofing of the user agent allows xss to be performed.
Googledork: intitle:Error Occurred While Processing Request.


POC (IE6/IE7 only - can't spoof headers in FF or Opera with flash):
h**p://www.whiteacid.org/misc/xss_headers.php?xss_target=http://www.example.com/&USER_AGENT=%3Cscript%3Ealert(String.fromCharCode(120,115,115))%3C/script%3E&HTTP_REFERER=http://www.google.com/

**Make sure you change http://example.com/ to target url for POC to work**

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux