CVE-2004-0386 (CNNVD-200405-036)

CRITICAL 有利用代码
中文标题:
MPlayer远程HTTP头远程缓冲区溢出漏洞
英文标题:
Buffer overflow in the HTTP parser for MPlayer 1.0pre3 and earlier, 0.90, and 0.91 allows remote att...
CVSS分数: 10.0
发布时间: 2004-04-07 04:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v4
漏洞描述
中文描述:

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类型:
(暂无数据)
标签:
dos linux blexim OSVDB-4754
受影响产品
厂商 产品 版本 版本范围 平台 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:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
11259 third-party-advisory
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
mplayer-header-bo(15675) vdb-entry
cve.org
访问
20040330 MPlayer Security Advisory #002 - HTTP parsing vulnerability mailing-list
cve.org
访问
MDKSA-2004:026 vendor-advisory
cve.org
访问
VU#723910 third-party-advisory
cve.org
访问
10008 vdb-entry
cve.org
访问
20040330 Heap overflow in MPlayer mailing-list
cve.org
访问
GLSA-200403-13 vendor-advisory
cve.org
访问
ExploitDB EDB-23896 EXPLOIT
exploitdb
访问
Download Exploit EDB-23896 EXPLOIT
exploitdb
访问
CVE Reference: CVE-2004-0386 ADVISORY
cve.org
访问
CVSS评分详情
10.0
CRITICAL
CVSS向量: AV:N/AC:L/Au:N/C:C/I:C/A:C
CVSS版本: 2.0
机密性
COMPLETE
完整性
COMPLETE
可用性
COMPLETE
时间信息
发布时间:
2004-04-07 04:00:00
修改时间:
2024-08-08 00:17:14
创建时间:
2025-11-11 15:32:21
更新时间:
2026-01-26 02:16:51
利用信息
此漏洞有可利用代码!
利用代码数量: 1
利用来源:
未知
数据源详情
数据源 记录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
版本与语言
当前版本: v4
主要语言: EN
支持语言:
EN ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4 EXPLOITDB
2025-11-11 16:19:47
references_count: 9 → 12; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
  • references_count: 9 -> 12
  • tags_count: 0 -> 4
  • data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3 CNNVD
2025-11-11 15:48:53
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200405-036; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200405-036
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:07
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']
查看详细变更
  • 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']