what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

iDEFENSE Security Advisory 2006-10-26.1

iDEFENSE Security Advisory 2006-10-26.1
Posted Oct 27, 2006
Authored by iDefense Labs | Site idefense.com

iDefense Security Advisory 10.26.06 - Multiple Vendor wvWare LFO Count Integer Overflow Vulnerability

tags | advisory, overflow
SHA-256 | 8f68a8978984b0e3a5fe4be0692e8f18f211e7a2ad5bd97c2f7a27c96532b140

iDEFENSE Security Advisory 2006-10-26.1

Change Mirror Download


Multiple Vendor wvWare LFO Count Integer Overflow Vulnerability

iDefense Security Advisory 10.26.06
http://www.idefense.com/intelligence/vulnerabilities/
Oct 26, 2006

I. BACKGROUND

The WV library provides an interface to facilitate access to binary file
format Microsoft Word documents. The project was originally called
"mswordview" but was renamed to avoid confusion. For more information,
see http://wvware.sourceforge.net/

II. DESCRIPTION

Remote exploitation of an integer overflow vulnerability in the WV
library could allow an attacker to execute arbitrary code.

When parsing documents, two user supplied integer values are multiplied
without checking for an overflow condition.

89 int
90 wvGetLFO_PLF (LFO ** lfo, U32 * nolfo, U32 offset, U32 len,
wvStream * fd)
...
101 *nolfo = read_32ubit (fd);
...
104 *lfo = (LFO *) wvMalloc (*nolfo * sizeof (LFO));
...
112 for (i = 0; i < *nolfo; i++)
113 wvGetLFO (&((*lfo)[i]), fd);


As can be seen from the source code above, an attacker supplied integer
value is read from the file on line 101. On line 104, memory for that
number of structures is allocated based on the supplied number
multiplied by the size of the structures. Any value larger than 2^^32 /
sizeof(LFO) will cause an integer overflow. Lines 112 and 113 show the
loop used for reading data into the newly allocated heap buffer. When
integer overflow occurs, the loop will store data beyond the end of the
allocated heap buffer.

III. ANALYSIS

A remote attacker could execute arbitrary code as a user that uses a WV
library dependent product to handle a malicious Microsoft Word document.

IV. DETECTION

iDefense has confirmed that this vulnerability exists in version 1.2.2
of the WV library. Earlier versions are suspected to be vulnerable as
well.

V. WORKAROUND

Users should avoid opening suspicious documents from untrusted sources.

VI. VENDOR RESPONSE

The wvWare maintainers have addressed this vulnerability by releasing
version 1.2.3.

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2006-4513 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

08/17/2006 Initial vendor notification
10/18/2006 Initial vendor response
10/18/2006 Second vendor notification
10/26/2006 Coordinated public disclosure

IX. CREDIT

This vulnerability was reported to iDefense by infamous41md.

Get paid for vulnerability research
http://www.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright © 2006 iDefense, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close