CVE-2002-0572 (CNNVD-200207-010)
HIGH
有利用代码
中文标题:
BSD内核exec调用处理C程序库标准I/O文件描述符不当导致权限提升漏洞
英文标题:
FreeBSD 4.5 and earlier, and possibly other BSD-based operating systems, allows local users to write...
CVSS分数:
7.2
发布时间:
2002-06-11 04:00:00
漏洞类型:
授权问题
状态:
PUBLISHED
数据质量分数:
0.40
数据版本:
v4
漏洞描述
中文描述:
BSD Unix是一个Unix类操作系统的重要分支。 基于BSD内核系统实现上在进I/O操作时存在漏洞,导致本地攻击者可能利用此漏洞得到主机的root权限。 基于BSD内核的系统在用exec()调用执行特权程序时,不恰当地假设0、1、2是stdin、stdout、stderr。这样的后果可能出现向2号句柄写入错误提示信息的可能,而当2号句柄并非stderr时,就会破坏实际对应的那个文件。利用这个漏洞,攻击者可以把恶意的数据写到敏感的I/O通道中去,本地攻击者可能因此得到root权限。
英文描述:
FreeBSD 4.5 and earlier, and possibly other BSD-based operating systems, allows local users to write to or read from restricted files by closing the file descriptors 0 (standard input), 1 (standard output), or 2 (standard error), which may then be reused by a called setuid process that intended to perform I/O on normal files.
CWE类型:
(暂无数据)
标签:
local
bsd
phased
OSVDB-6095
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| freebsd | freebsd | 4.4 | - | - |
cpe:2.3:o:freebsd:freebsd:4.4:releng:*:*:*:*:*:*
|
| freebsd | freebsd | 4.5 | - | - |
cpe:2.3:o:freebsd:freebsd:4.5:release:*:*:*:*:*:*
|
| openbsd | openbsd | 2.0 | - | - |
cpe:2.3:o:openbsd:openbsd:2.0:*:*:*:*:*:*:*
|
| openbsd | openbsd | 2.1 | - | - |
cpe:2.3:o:openbsd:openbsd:2.1:*:*:*:*:*:*:*
|
| openbsd | openbsd | 2.2 | - | - |
cpe:2.3:o:openbsd:openbsd:2.2:*:*:*:*:*:*:*
|
| openbsd | openbsd | 2.3 | - | - |
cpe:2.3:o:openbsd:openbsd:2.3:*:*:*:*:*:*:*
|
| sun | solaris | 2.5.1 | - | - |
cpe:2.3:o:sun:solaris:2.5.1:*:x86:*:*:*:*:*
|
| sun | solaris | 2.6 | - | - |
cpe:2.3:o:sun:solaris:2.6:*:*:*:*:*:*:*
|
| sun | solaris | 7.0 | - | - |
cpe:2.3:o:sun:solaris:7.0:*:x86:*:*:*:*:*
|
| sun | solaris | 8.0 | - | - |
cpe:2.3:o:sun:solaris:8.0:*:x86:*:*:*:*:*
|
| sun | sunos | - | - | - |
cpe:2.3:o:sun:sunos:-:*:*:*:*:*:*:*
|
| sun | sunos | 5.5.1 | - | - |
cpe:2.3:o:sun:sunos:5.5.1:*:*:*:*:*:*:*
|
| sun | sunos | 5.7 | - | - |
cpe:2.3:o:sun:sunos:5.7:*:*:*:*:*:*:*
|
| sun | sunos | 5.8 | - | - |
cpe:2.3:o:sun:sunos:5.8:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
bsd-suid-apps-gain-privileges(8920)
vdb-entry
cve.org
访问
cve.org
4568
vdb-entry
cve.org
访问
cve.org
VU#809347
third-party-advisory
cve.org
访问
cve.org
6095
vdb-entry
cve.org
访问
cve.org
20020422 Pine Internet Advisory: Setuid application execution may give local root in FreeBSD
mailing-list
cve.org
访问
cve.org
FreeBSD-SA-02:23
vendor-advisory
cve.org
访问
cve.org
M-072
third-party-advisory
cve.org
访问
cve.org
20020422 Pine Internet Advisory: Setuid application execution may give local root in FreeBSD
mailing-list
cve.org
访问
cve.org
20020423 cheers
mailing-list
cve.org
访问
cve.org
ExploitDB EDB-21407
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-21407
EXPLOIT
exploitdb
访问
exploitdb
CVE Reference: CVE-2002-0572
ADVISORY
cve.org
访问
cve.org
CVSS评分详情
7.2
HIGH
CVSS向量:
AV:L/AC:L/Au:N/C:C/I:C/A:C
CVSS版本:
2.0
机密性
COMPLETE
完整性
COMPLETE
可用性
COMPLETE
时间信息
发布时间:
2002-06-11 04:00:00
修改时间:
2024-08-08 02:56:37
创建时间:
2025-11-11 15:32:16
更新时间:
2026-01-19 09:41:50
利用信息
此漏洞有可利用代码!
利用代码数量:
1
利用来源:
未知
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2002-0572 |
2025-11-11 15:17:23 | 2025-11-11 07:32:16 |
| NVD | nvd_CVE-2002-0572 |
2025-11-11 14:50:27 | 2025-11-11 07:41:02 |
| CNNVD | cnnvd_CNNVD-200207-010 |
2025-11-11 15:08:41 | 2025-11-11 07:48:48 |
| EXPLOITDB | exploitdb_EDB-21407 |
2025-11-11 15:05:21 | 2025-11-11 08:16:18 |
版本与语言
当前版本:
v4
主要语言:
EN
支持语言:
EN
ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4
EXPLOITDB
2025-11-11 16:16:18
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:48
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200207-010; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200207-010
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2
NVD
2025-11-11 15:41:02
severity: SeverityLevel.MEDIUM → SeverityLevel.HIGH; cvss_score: 未提取 → 7.2; cvss_vector: NOT_EXTRACTED → AV:L/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.HIGH
- cvss_score: 未提取 -> 7.2
- cvss_vector: NOT_EXTRACTED -> AV:L/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']