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

iDEFENSE Security Advisory 2006-10-26.2

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

iDefense Security Advisory 10.26.06: Multiple Vendor wvWare LVL Count Integer Overflow Vulnerability

tags | advisory, overflow
SHA-256 | a15abfbcbe15b9bba54b79957b5fd2e640440079be1d05e1b450a95b561ef26a

iDEFENSE Security Advisory 2006-10-26.2

Change Mirror Download

Multiple Vendor wvWare LVL Count Integer Overflow Vulnerability

iDefense Security Advisory 10.26.06
Oct 26, 2006


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/


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

When parsing documents, an attacker supplied integer value is multiplied
with a constant without checking for an overflow condition.

35 int
36 wvGetLFO_records (LFO ** lfo, LFOLVL ** lfolvl, LVL ** lvl, U32
37 U32 * nooflvl, U32 offset, U32 len, wvStream *fd)
38 {
47 for (i = 0; i < *nolfo; i++)
48 *nooflvl += (*lfo)[i].clfolvl;
59 *lfolvl = (LFOLVL *) wvMalloc (sizeof (LFOLVL) * *nooflvl);
60 *lvl = (LVL *) wvMalloc (sizeof (LVL) * *nooflvl);

On lines 47 and 48, a loop of '*nolfo' iterations increments '*nooflvl'
by an attacker supplied 8-bit value read from the file. Lines 59 and 60
will use the calculated value to allocate memory for two different
dynamic structure arrays. Since no input validation is done, integer
overflow can occur. If an integer overflow, or wrap-around, does occur
it will lead to a heap overflow situation.


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


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


Users should avoid opening suspicious documents from untrusted sources.


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


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.


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


This vulnerability was reported to iDefense by infamous41md.

Get paid for vulnerability research

Free tools, research and upcoming events


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:

April 2024

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Security Services
Hosting By