CVE-2006-4513 (CNNVD-200610-477)
中文标题:
wvWare多个整数溢出漏洞
英文标题:
Multiple integer overflows in the WV library in wvWare (formerly mswordview) before 1.2.3, as used b...
漏洞描述
中文描述:
wvWare是一个用于装载和解析Microsoft Word文件的库。 WV库的实现上存在多个整数溢出漏洞,攻击者可能利用这些漏洞在用户机器上执行任意指令。 WV库在解析文档时没有检查溢出情况便使用常数乘以用户所提供的整数值: 35 int 36 wvGetLFO_records (LFO ** lfo, LFOLVL ** lfolvl, LVL ** lvl, U32 *nolfo, 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); 在47和48行,每从文件读取8位的值*nolfo迭代循环便将*nooflvl加1,59和60行使用所计算出的值为两个不同的动态结构数组分配内存。由于没有执行输入验证,可能会出现整数溢出,导致堆溢出情况。 此外,WV库还可能没有检查溢出情况便将两个用户提供的整数值相乘: 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); 攻击者所提供的数据是从101行的文件读取的。在104行,基于所提供的数字乘以结构的大小分配了结构数的内存,因此任何大于2^^32 / sizeof(LFO)的值都会导致整数溢出。112和113行显示了用于将数据读取到新分配堆缓冲区的循环。如果出现了整数溢出,循环就会将数据储存到所分配堆缓冲区末尾之外的范围。
英文描述:
Multiple integer overflows in the WV library in wvWare (formerly mswordview) before 1.2.3, as used by AbiWord, KWord, and possibly other products, allow user-assisted remote attackers to execute arbitrary code via a crafted Microsoft Word (DOC) file that produces (1) large LFO clfolvl values in the wvGetLFO_records function or (2) a large LFO nolfo value in the wvGetFLO_PLF function.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| wvware | wvware | * | - | - |
cpe:2.3:a:wvware:wvware:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
AV:N/AC:H/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2006-4513 |
2025-11-11 15:17:44 | 2025-11-11 07:32:36 |
| NVD | nvd_CVE-2006-4513 |
2025-11-11 14:51:51 | 2025-11-11 07:41:22 |
| CNNVD | cnnvd_CNNVD-200610-477 |
2025-11-11 15:08:53 | 2025-11-11 07:49:11 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200610-477
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 5.1
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:H/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 1
- data_sources: ['cve'] -> ['cve', 'nvd']