Mozilla, Firefox, Thunderbird, and Netscape nsVCardObj.cpp buffer overflow
| mozilla-netscape-nsvcardobj-bo (17380) |
Description:
Mozilla is vulnerable to a stack-based buffer overflow in the writeGroup function in the nsVCardObj.cpp file, caused by improper bounds checking of user-supplied input. By sending an email with a specially-crafted vcard, a remote attacker could overflow a buffer and execute arbitrary code on the system, once the email is viewed.
Platforms Affected:
- Compaq, Tru64 5.1a
- Compaq, Tru64 5.1b
- Conectiva, Linux 10
- Conectiva, Linux 9.0
- Gentoo, Linux
- MandrakeSoft, Mandrake Linux 10.0 AMD64
- MandrakeSoft, Mandrake Linux 10.0
- Mozilla, Firefox 0.7
- Mozilla, Firefox 0.8
- Mozilla, Firefox 0.9
- Mozilla, Firefox 0.9 rc
- Mozilla, Firefox 0.9.1
- Mozilla, Firefox 0.9.2
- Mozilla, Firefox 0.9.3
- Mozilla, Mozilla 0.9.2
- Mozilla, Mozilla 1.0
- Mozilla, Mozilla 1.0 rc1
- Mozilla, Mozilla 1.0.1
- Mozilla, Mozilla 1.0.2
- Mozilla, Mozilla 1.1 Beta
- Mozilla, Mozilla 1.1 Alpha
- Mozilla, Mozilla 1.1
- Mozilla, Mozilla 1.2
- Mozilla, Mozilla 1.2 Beta
- Mozilla, Mozilla 1.2 Alpha
- Mozilla, Mozilla 1.2.1
- Mozilla, Mozilla 1.3
- Mozilla, Mozilla 1.3.1
- Mozilla, Mozilla 1.4
- Mozilla, Mozilla 1.4 Alpha
- Mozilla, Mozilla 1.4 Beta
- Mozilla, Mozilla 1.4.1
- Mozilla, Mozilla 1.4.2
- Mozilla, Mozilla 1.4.4
- Mozilla, Mozilla 1.5 rc1
- Mozilla, Mozilla 1.5 rc2
- Mozilla, Mozilla 1.5 Alpha
- Mozilla, Mozilla 1.5
- Mozilla, Mozilla 1.5.1
- Mozilla, Mozilla 1.6
- Mozilla, Mozilla 1.6 Beta
- Mozilla, Mozilla 1.6 Alpha
- Mozilla, Mozilla 1.7 rc3
- Mozilla, Mozilla 1.7 Alpha
- Mozilla, Mozilla 1.7 Beta
- Mozilla, Mozilla 1.7 rc1
- Mozilla, Mozilla 1.7 rc2
- Mozilla, Mozilla 1.7
- Mozilla, Mozilla 1.7.1
- Mozilla, Mozilla 1.7.2
- Mozilla, Thunderbird 0.1
- Mozilla, Thunderbird 0.2
- Mozilla, Thunderbird 0.3
- Mozilla, Thunderbird 0.4
- Mozilla, Thunderbird 0.5
- Mozilla, Thunderbird 0.6
- Mozilla, Thunderbird 0.7
- Mozilla, Thunderbird 0.7.1
- Mozilla, Thunderbird 0.7.2
- Mozilla, Thunderbird 0.7.3
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Slackware, Slackware Linux 10.0
- Slackware, Slackware Linux current
- Sun, JDS 2003
- Sun, JDS Release 2
- Sun, Solaris 8
- Sun, Solaris 9
- SuSE, Linux Enterprise Server 8
- SuSE, SuSE Linux 8.1
- SuSE, SuSE Linux 8.2
- SuSE, SuSE Linux 9.0
- SuSE, SuSE Linux 9.1
- SuSE, SuSE Linux Desktop 1.0
- SuSE, SuSE SLES 9
Remedy:
For Mozilla Suite:
Upgrade to the latest version of Mozilla Suite (1.7.3 or later), available from the Mozilla Web site. See References.
For Mozilla Firefox:
Upgrade to the latest version of Mozilla Firefox (1.0PR or later), available from the Mozilla Web site. See References.
For Mozilla Thunderbird:
Upgrade to the latest version of Mozilla Thunderbird (0.8 or later), available from the Mozilla Web site. See References.
For Gentoo Linux:
Upgrade to the latest version of Mozilla, Epiphany, Mozilla Thunderbird, and Mozilla Firefox, as listed in GLSA 200409-26. See References.
For Slackware Linux:
Upgrade to the latest Mozilla package, as listed below. Refer to slackware-security Mailing List, Wed, 22 Sep 2004 13:39:12 -0700 (PDT) for more information. See References.
Slackware Linux 10 and -current: 1.7.3-i486-1 or later
For Red Hat Linux:
Upgrade to the latest mozilla package, as listed below. Refer to RHSA-2004:486-18 for more information. See References.
Red Hat Enterprise Linux AS (v. 2.1), ES (v. 2.1), WS (v. 2.1), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor: 1.4.3-2.1.4 or later
Red Hat Enterprise Linux AS (v. 3), ES (v. 3), WS (v. 3), Desktop: 1.4.3-3.0.4.x86_64 or later
For HP Tru64 Unix 5.1A and 5.1B:
Apply the appropriate patch for your system, as listed in Hewlett-Packard Company Security Bulletin HPSBTU01081. See References.
For SuSE Linux:
Apply the update for this vulnerability, as listed in SuSE Security Announcement SUSE-SA:2004:036. See References.
For Mandrake Linux:
Upgrade to the latest mozilla package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:107 for more information. See References.
Mandrake Linux 10.0: 1.6-12.2.100mdk or later
For Conectiva Linux:
Upgrade to the latest mozilla package, as listed below. Refer to Conectiva Linux Security Announcement CLSA-2004:877 for more information. See References.
Conectiva Linux 10.0: 1.7.3-60868U10_1cl or later
Conectiva Linux 9: 1.7.3-27852U90_4cl or later
For Sun Solaris:
Apply the appropriate patch for your system, as listed below. Refer to Sun Alert ID: 57701 for more information. See References.
SPARC
Solaris 8: 117765-02 or later
Solaris 9: 117767-02 or later
x86 Platform
Solaris 8: 117766-02 or later
Solaris 9: 117768-02 or later
Linux
Sun Java Desktop System (JDS) 2003: 118937-01 or later
Sun Java Desktop System (JDS) Release 2: 118492-02 or later
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Access
References:
- Conectiva Linux Security Announcement CLSA-2004:877, New upstream for mozilla at http://distro.conectiva.com.br/atualizacoes/index.php?id=a&anuncio=000877.
- Mozilla Bugzilla Bug 257314 , stack based buffer overflow with vcards when previewing email message at http://bugzilla.mozilla.org/show_bug.cgi?id=257314.
- Mozilla Web site, Mozilla - Home of the Firefox web browser, Thunderbird and the Mozilla Suite at http://www.mozilla.org/.
- slackware-security Mailing List, Wed, 22 Sep 2004 13:39:12 -0700 (PDT), [slackware-security] Mozilla (SSA:2004-266-03) at http://slackware.com/security/viewer.php?l=slackware-security&y=2004&m=slackware-security.401801.
- Sun Alert ID: 57701, Multiple Security Vulnerabilities in Mozilla at http://sunsolve.sun.com/search/document.do?assetkey=1-26-57701-1&searchclause=%22category:security%22%20%22availability,%20security%22.
- BID-11174: Mozilla Browser Vcard Handling Remote Buffer Overflow Vulnerability
- CVE-2004-0903: Stack-based buffer overflow in the writeGroup function in nsVCardObj.cpp for Mozilla Firefox before the Preview Release, Mozilla before 1.7.3, and Thunderbird before 0.8 allows remote attackers to execute arbitrary code via malformed VCard attachments that are not properly handled when previewing a message.
- GLSA-200409-26: Mozilla, Firefox, Thunderbird, Epiphany: New releases fix vulnerabilities
- MDKSA-2004:107: Updated mozilla packages fix vulnerabilities
- RHSA-2004-486: mozilla security update
- SUSE-SA:2004:036: mozilla: various vulnerabilities
- US-CERT VU#414240: Mozilla Mail vulnerable to buffer overflow via writeGroup() function in nsVCardObj.cpp
Reported:
Sep 14, 2004
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
