search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Mozilla Firefox SVG viewer vulnerable to integer overflow

Vulnerability Note VU#551436

Original Release Date: 2007-02-25 | Last Revised: 2008-07-25

Overview

The Mozilla SVG viewer contains an integer overflow vulnerability. This vulnerability may allow an attacker to execute arbitrary code, or create a denial-of-service condition.

Description

Scalable Vector Graphics (SVG) is an XML markup language for describing and displaying animated or static vector graphics. Mozilla Firefox includes a native SVG viewer, other Mozilla projects may use the Adobe SVG viewer.

The Mozilla SVG viewer fails to properly validate size parameters supplied to a memory allocation routine allowing an integer overflow to occur. This vulnerability could cause an undersized buffer to be allocated. When data is copied to that buffer, a heap-based buffer overflow may occur. An attacker may be able to exploit this vulnerability by convincing a user to go to a website that hosts a specially crafted SVG file.

This vulnerability occurred as a result of failing to comply with rule INT30-C of the CERT C Programming Language Secure Coding Standard.

Impact

A remote, unauthenticated attacker may be able to execute arbitrary code, or create a denial-of-service condition.

Solution

Upgrade
See Mozilla Foundation Security Advisory 2007-01 for information about affected clients.


Disable SVG

Until updates can be applied, disabling SVG in Mozilla Firefox may mitigate this vulnerability. See the Mozilla about:config guide for information on how to disable SVG.

Vendor Information

551436
 

Mozilla Affected

Updated:  February 25, 2007

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

See http://www.mozilla.org/security/announce/2007/mfsa2007-01.html for more details.

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


CVSS Metrics

Group Score Vector
Base 0 AV:--/AC:--/Au:--/C:--/I:--/A:--
Temporal 0 E:ND/RL:ND/RC:ND
Environmental 0 CDP:ND/TD:ND/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Mozilla credits Tom Ferris for reporting this vulnerability.

This document was written by Ryan Giobbi.

Other Information

CVE IDs: CVE-2007-0776
Severity Metric: 22.23
Date Public: 2007-02-23
Date First Published: 2007-02-25
Date Last Updated: 2008-07-25 12:26 UTC
Document Revision: 71

Sponsored by CISA.