search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla WOFF decoder integer overflow

Vulnerability Note VU#964549

Original Release Date: 2010-03-23 | Last Revised: 2010-07-28

Overview

An integer overflow in the Mozilla Web Open Fonts Format (WOFF) decoder may allow a remote attacker to execute code on an affected system.

Description

The Web Open Fonts Format (WOFF) is a simple compressed file format for fonts. Mozilla introduced support for WOFF in the 1.9.2 branch of the base software, which is used by Firefox versions 3.6 and later.

An integer overflow error exists in the way the WOFF decoder handles the size of tables specified in the font file. This error could result in a buffer overflow vulnerability on a subsequent memory allocation. A remote attacker who is able to supply a malicious WOFF file could exploit this vulnerability.

Impact

A remote, unauthenticated attack may be able to execute arbitrary code with the privileges of the victim user.

Solution

Upgrade

Mozilla has addressed this issue in Firefox version 3.6.2. Users are encouraged to upgrade to this version of the browser.

Disable downloading of remote fonts


By performing the following steps, it is possible to prevent Mozilla from retrieving and displaying remote fonts.

    1. Enter "about:config" into the browser's address bar. This will display Firefox's configuration values.
    2. Set the following value to false:
    gfx.downloadable_fonts.enabled

    Vendor Information

    Any Mozilla-derived product that uses the Mozilla 1.9.2 code could be affected.

    964549
     
    Affected   Unknown   Unaffected

    Mozilla

    Notified:  February 19, 2010 Updated:  March 23, 2010

    Statement Date:   March 22, 2010

    Status

      Vulnerable

    Vendor Statement

    No statement is currently available from the vendor regarding this vulnerability.

    Vendor Information

    Mozilla has published Mozilla Foundation Security Advisory 2010-08 in response to this issue. Users are encouraged to review this advisory and install the updated software it describes.

    Vendor References


    CVSS Metrics

    Group Score Vector
    Base N/A N/A
    Temporal N/A N/A
    Environmental N/A

    References

    Acknowledgements

    This vulnerability was reported to Mozilla by Evgeny Legerov of Intevydis.

    This document was written by Chad R Dougherty.

    Other Information

    CVE IDs: CVE-2010-1028
    Severity Metric: 16.88
    Date Public: 2010-03-17
    Date First Published: 2010-03-23
    Date Last Updated: 2010-07-28 17:02 UTC
    Document Revision: 17

    Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.