SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#551436

Mozilla Firefox SVG viewer vulnerable to integer overflow

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.

I. 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 INT32-C of the CERT C Programming Language Secure Coding Standard.

II. Impact

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

III. 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.

Systems Affected

VendorStatusDate Updated
MozillaVulnerable25-Feb-2007

References

https://www.securecoding.cert.org/confluence/x/RgE
http://www.mozilla.org/security/announce/2007/mfsa2007-01.html
http://www.mozilla.org/projects/svg/
https://www.securecoding.cert.org/confluence/x/4Qg
http://www.adobe.com/svg/
http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries#Miscellaneous
http://en.wikipedia.org/wiki/Scalable_Vector_Graphics
http://www.w3.org/TR/SVG/painting.html#StrokeProperties
http://secunia.com/advisories/24238/
http://secunia.com/advisories/24287/
http://secunia.com/advisories/24205/
http://secunia.com/advisories/24290/
http://secunia.com/advisories/24252/
http://secunia.com/advisories/24320/
http://secunia.com/advisories/24328/
http://secunia.com/advisories/24293/
http://secunia.com/advisories/24327/
http://secunia.com/advisories/24343/
http://secunia.com/advisories/24333/
http://secunia.com/advisories/24393/
http://secunia.com/advisories/24352/
http://www.ciac.org/ciac/bulletins/r-164.shtml
http://secunia.com/advisories/24406/
http://secunia.com/advisories/24384/
http://secunia.com/advisories/24410/
http://secunia.com/advisories/24389/
http://secunia.com/advisories/24455/
http://secunia.com/advisories/24456/
http://secunia.com/advisories/24457/
http://www.securityfocus.com/bid/22694
http://secunia.com/advisories/24437/

Credit

Mozilla credits Tom Ferris for reporting this vulnerability.

This document was written by Ryan Giobbi.

Other Information

Date Public02/23/2007
Date First Published02/25/2007 09:33:12 AM
Date Last Updated07/13/2007
CERT Advisory 
CVE NameCVE-2007-0776
US-CERT Technical Alerts 
Metric22.23
Document Revision68

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

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader