CVE-2004-0386 (CNNVD-200405-036)
中文标题:
MPlayer远程HTTP头远程缓冲区溢出漏洞
英文标题:
Buffer overflow in the HTTP parser for MPlayer 1.0pre3 and earlier, 0.90, and 0.91 allows remote att...
漏洞描述
中文描述:
MPlayer是一款基于Linux的电影播放程序。 MPlayer由于不正确处理部分HTTP头字段数据,远程攻击者可以利用这个漏洞进行缓冲区溢出攻击,可能以进程权限在系统上执行任意指令。 当从web服务器请求一文件,MPlayer会分配一缓冲区存储URL转换的字符串数据,由于没有进行充分边界检查,可导致缓冲区溢出,问题代码如下: libmpdemux/http.c:http_build_request (line 178): if( http_hdr->uri==NULL ) http_set_uri( http_hdr, "/"); else { uri = (char*)malloc(strlen(http_hdr->uri)*2); [1] if( uri==NULL ) { mp_msg(MSGT_NETWORK,MSGL_ERR,"Memory allocation failed\n"); return NULL; } url_escape_string( uri, http_hdr->uri ); [2] URL转义字符串会使一个字符转换为3个,如空格由%22代替,因此[1]中的空间分配不够充分,导致[2]中发生溢出。
英文描述:
Buffer overflow in the HTTP parser for MPlayer 1.0pre3 and earlier, 0.90, and 0.91 allows remote attackers to execute arbitrary code via a long Location header.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| mplayer | mplayer | 0.90 | - | - |
cpe:2.3:a:mplayer:mplayer:0.90:*:*:*:*:*:*:*
|
| mplayer | mplayer | 0.90_pre | - | - |
cpe:2.3:a:mplayer:mplayer:0.90_pre:*:*:*:*:*:*:*
|
| mplayer | mplayer | 0.90_rc | - | - |
cpe:2.3:a:mplayer:mplayer:0.90_rc:*:*:*:*:*:*:*
|
| mplayer | mplayer | 0.91 | - | - |
cpe:2.3:a:mplayer:mplayer:0.91:*:*:*:*:*:*:*
|
| mplayer | mplayer | 1.0_pre1 | - | - |
cpe:2.3:a:mplayer:mplayer:1.0_pre1:*:*:*:*:*:*:*
|
| mplayer | mplayer | 1.0_pre2 | - | - |
cpe:2.3:a:mplayer:mplayer:1.0_pre2:*:*:*:*:*:*:*
|
| mplayer | mplayer | 1.0_pre3 | - | - |
cpe:2.3:a:mplayer:mplayer:1.0_pre3:*:*:*:*:*:*:*
|
| gentoo | linux | 0.5 | - | - |
cpe:2.3:o:gentoo:linux:0.5:*:*:*:*:*:*:*
|
| gentoo | linux | 0.7 | - | - |
cpe:2.3:o:gentoo:linux:0.7:*:*:*:*:*:*:*
|
| gentoo | linux | 1.1a | - | - |
cpe:2.3:o:gentoo:linux:1.1a:*:*:*:*:*:*:*
|
| gentoo | linux | 1.2 | - | - |
cpe:2.3:o:gentoo:linux:1.2:*:*:*:*:*:*:*
|
| gentoo | linux | 1.4 | - | - |
cpe:2.3:o:gentoo:linux:1.4:*:*:*:*:*:*:*
|
| mandrakesoft | mandrake_linux | 9.2 | - | - |
cpe:2.3:o:mandrakesoft:mandrake_linux:9.2:*:*:*:*:*:*:*
|
| mandrakesoft | mandrake_linux | 10.0 | - | - |
cpe:2.3:o:mandrakesoft:mandrake_linux:10.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
exploitdb
exploitdb
cve.org
CVSS评分详情
AV:N/AC:L/Au:N/C:C/I:C/A:C
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2004-0386 |
2025-11-11 15:17:29 | 2025-11-11 07:32:21 |
| NVD | nvd_CVE-2004-0386 |
2025-11-11 14:50:54 | 2025-11-11 07:41:07 |
| CNNVD | cnnvd_CNNVD-200405-036 |
2025-11-11 15:08:44 | 2025-11-11 07:48:53 |
| EXPLOITDB | exploitdb_EDB-23896 |
2025-11-11 15:05:24 | 2025-11-11 08:19:47 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 9 -> 12
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200405-036
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.CRITICAL
- cvss_score: 未提取 -> 10.0
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:L/Au:N/C:C/I:C/A:C
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 14
- data_sources: ['cve'] -> ['cve', 'nvd']