Opera Mail Client Attachment Spoofing and Script Injection
21 Sep. 2005
Summary
"Opera is a full-featured Internet power tool on the market, Opera includes pop-up blocking, tabbed browsing, integrated searches, E-mail, RSS Newsfeeds and IRC chat."
Lack of prover input validation allows attackers to insert arbitrary code and execute it in Opera Mail.
Two vulnerabilities in Opera Mai client, can be exploited by a malicious person to conduct script insertion attacks and to spoof the name of attached files.
1. Attached files are opened without any warnings directly from the user's cache directory. This can be exploited to execute arbitrary JavaScript in context of "file://".
2. Normally, filename extensions are determined by the "Content-Type" in Opera Mail. However, by appending an additional '.' to the end of a filename, an HTML file could be spoofed to be e.g. "image.jpg.".
The two vulnerabilities combined may be exploited to conduct script insertion attacks if the user chooses to view an attachment named e.g. "image.jpg." e.g. resulting in disclosure of local files.