search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla insecurely clones objects and member functions

Vulnerability Note VU#652366

Original Release Date: 2005-08-01 | Last Revised: 2005-08-15

Overview

Mozilla fails to enforce security restrictions on cloned base objects. This may allow a remote attacker to execute arbitrary code on a vulnerable web browser.

Description

Mozilla supports the use of JavaScript to perform client side scripting. JavaScript uses prototyping as a way to dynamically inherit methods and properties from a superclass. The methods and properties are inherited at runtime via the .prototype property of a subclass. A class hierarchy defined using prototyping is known as a prototype chain.

Mozilla insecurely clones base objects in a prototype chain causing an access control vulnerability. A remote attacker with control of an object with few privileges may be able to access methods and properties stored in more privileged base objects higher up the prototype chain.

Note that this vulnerability may exist in all Mozilla-based web browsers, including Netscape and Firefox.

Impact

A remote attacker may be able to traverse the prototype chain to access privileged objects. Once access is gained, the attacker may be able to execute arbitrary code with elevated privileges.

Solution

Upgrade

This vulnerability is fixed in Firefox 1.0.5 and Mozilla Suite 1.7.10.

Vendor Information

652366
 

Mozilla, Inc. Affected

Updated:  August 01, 2005

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

http://www.mozilla.org/security/announce/mfsa2005-56.html

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Netscape Communications Corporation Affected

Updated:  August 01, 2005

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Red Hat Software, Inc. Affected

Updated:  August 15, 2005

Status

Affected

Vendor Statement

Updated Mozilla packages (for Red Hat Enterprise Linux 4, 3, and 2.1) and updated Firefox and Thunderbird packages (for Red Hat Enterprise Linux 4) to correct this issue are available at the URL below and by using the Red Hat Network 'up2date' tool.

http://rhn.redhat.com/errata/CAN-2005-2270.html

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was reported by The Mozilla Foundation. The Mozilla Foundation credits moz_bug_r_a4 and shutdown for reporting this issue.

This document was written by Jeff Gennari.

Other Information

CVE IDs: CVE-2005-2270
Severity Metric: 7.80
Date Public: 2005-07-13
Date First Published: 2005-08-01
Date Last Updated: 2005-08-15 12:49 UTC
Document Revision: 72

Sponsored by CISA.