Date: 9 Jan 2005 10:57:59 +0200
From: SecuriTeam <support@securiteam.com.>
To: [email protected]Subject: [NEWS] Mozilla XBM DoS
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Mozilla XBM DoS
------------------------------------------------------------------------
SUMMARY
Mozilla is "a suite of Internet applications. Users can choose which
components meet their needs from Web-browser, E-mail and Newsgroup client,
IRC chat client, and HTML editing".
Mozilla's support for XBM file allows a remote attacker to cause a denial
of service attack against the product by creating a malicious XBM file.
DETAILS
Vulnerable Systems:
* Mozilla version 1.6 for Windows
* Mozilla Firefox version 1.0 for Linux
Mozilla's mail client and Mozilla's web browser support the XBM graphic
files standard. A security flaw in the way softwares handles these images,
allow a malicious user to perform a denial-of-service attack.
The X BitMap data is stored as ASCII data, in the file's beginning of the
file there are two '#define' statements. The following is an example of a
16x16 XBM bitmap, named Esempio.xbm:
#define Esempio_width 16
#define Esempio_height 16
static unsigned short Esempio_bits[] = {
0x0000, 0x35ca, 0x3c40, 0x0000, 0x7810, 0x0000, 0xe009, 0x0000,
0xc007, 0x05ba, 0x4ff6, 0x201e, 0xa08e, 0x0d3c, 0x02ad,
0x35ca};
Opening file, Mozilla read width and height values from '#define'
statement and try to allocate enough memory to display image. Defining
high values to width and height parameters would cause the application to
crash. This vulnerability can be exploited by sending an e-mail containing
a specially crafted image, or by tricking a user into a malicious website.
ADDITIONAL INFORMATION
The information has been provided by <mailto:luca.ercoli@inwind.it.> Luca
Ercoli.
The original article can be found at:
<http://www.geocities.com/xbm_bug/index.html>
http://www.geocities.com/xbm_bug/index.html
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.