As discussed in the past,cross site scripting (XSS) can be exploited by phishers to build reallyeffective attacks. Today we have analyzed another similar attack thatincludes some enhanced features. The attack was exploiting an injectionflaw in an Internet banking application, specifically located in themodule used to display warning messages to users.
The function took a single GET parameter:
https://www.well-known-bank.com/popup.asp?msg=[ASCII_encoded_message_to_display]
And then returned a page with the following in the body:
document.writeln([decoded_messages]);
Obviously the aim here is to have a single page display warningsthat are available to every module in the application. Because theinput was not properly sanitized the attackers used...