mozilla -- code execution via javascript: IconURL vulnerability

2005-05-08T00:00:00
ID ECA6195A-C233-11D9-804C-02061B08FC24
Type freebsd
Reporter FreeBSD
Modified 2005-05-08T00:00:00

Description

A Mozilla Foundation Security Advisory reports:

Two vulnerabilities have been discovered in Firefox, which can be exploited by malicious people to conduct cross-site scripting attacks and compromise a user's system.

The problem is that "IFRAME" JavaScript URLs are not properly protected from being executed in context of another URL in the history list. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an arbitrary site. Input passed to the "IconURL" parameter in "InstallTrigger.install()" is not properly verified before being used. This can be exploited to execute arbitrary JavaScript code with escalated privileges via a specially crafted JavaScript URL.

Successful exploitation requires that the site is allowed to install software (default sites are "update.mozilla.org" and "addons.mozilla.org"). A combination of vulnerability 1 and 2 can be exploited to execute arbitrary code.