search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla-based products fail to validate user input to the attribute name in "XULDocument.persist"

Vulnerability Note VU#592425

Original Release Date: 2006-02-03 | Last Revised: 2006-02-08

Overview

A vulnerability in some Mozilla products that could allow a remote attacker to execute Javascript commands with the permissions of the user running the affected application.

Description

According to the Mozilla advisory on this issue:

XULDocument.persist() did not validate the attribute name, allowing an attacker to inject XML into localstore.rdf that would be read and acted upon at startup. This could include JavaScript commands that would be run with the permissions of the browser.

Note: Thunderbird could be vulnerable if JavaScript is enabled. This is not the default setting and we strongly discourage users from turning on JavaScript in mail. Thunderbird is not vulnerable in its default configuration.

This vulnerability affects Mozilla Firefox, SeaMonkey, Thunderbird, and potentially any other Mozilla-based application. The exploit code for this vulnerability could be remotely supplied through a web page or in an email message.

Impact

A remote attacker may be able to inject XML code, including JavaScript commands, into a startup file on the victim's system. This file would then be read and executed the next time the affected application is started.

Solution

Upgrade

Mozilla has released Firefox version 1.5.0.1 that contains a fix for this issue. The SeaMonkey project has released version 1.0 that contains a fix for this issue. Users are strongly encouraged to upgrade to these fixed versions of the software.

Vendor Information

592425
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to the Mozilla Corporation for reporting this vulnerability. Mozilla, in turn, credits moz_bug_r_a4 with reporting this issue to them.

This document was written by Chad R Dougherty.

Other Information

CVE IDs: CVE-2006-0296
Severity Metric: 17.10
Date Public: 2006-02-02
Date First Published: 2006-02-03
Date Last Updated: 2006-02-08 20:30 UTC
Document Revision: 26

Sponsored by CISA.