CVE-2004-0126 (CNNVD-200403-128)
中文标题:
FreeBSD未授权受限进程挂接漏洞
英文标题:
The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even i...
漏洞描述
中文描述:
FreeBSD是一款免费开放源代码的UNIX操作系统。 FreeBSD中在jail_attach(2)系统调用中存在一个访问验证问题,本地攻击者可以利用这个漏洞未授权访问其他受限制的进程。 jail(2)系统调用允许系统管理员对进程进行限制,独立在一个封闭的环境中实现自身功能,可有效的提高系统安全。jail_attach(2)系统调用出现在FreeBSD 5中,允许非限制(non-jailed)的进程永久的移入已经存在的jail进程。 由于在jail_attach(2)系统调用中存在一个编程错误,可影响系统调用验证调用进程的权限级别。如果调用的进程已经是受限制的,jail_attach(2)系统调用只在更改调用进程ROOT目录之后失败。 在一个受限环境中的拥有超级用户权限的进程可以更改它的ROOT目录到不同的Jail环境中,因此可以在其他目标Jail环境中访问所有文件和目录。
英文描述:
The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even if the process doesn't have permission to change directory, which allows local users to gain read/write privileges to files and directories within another jail.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| freebsd | freebsd | 5.1 | - | - |
cpe:2.3:o:freebsd:freebsd:5.1:*:*:*:*:*:*:*
|
| freebsd | freebsd | 5.2 | - | - |
cpe:2.3:o:freebsd:freebsd:5.2:*:*:*:*:*:*:*
|
| freebsd | freebsd | 5.2.1 | - | - |
cpe:2.3:o:freebsd:freebsd:5.2.1:release:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
AV:L/AC:L/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2004-0126 |
2025-11-11 15:17:28 | 2025-11-11 07:32:20 |
| NVD | nvd_CVE-2004-0126 |
2025-11-11 14:50:54 | 2025-11-11 07:41:07 |
| CNNVD | cnnvd_CNNVD-200403-128 |
2025-11-11 15:08:43 | 2025-11-11 07:48:53 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200403-128
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 4.6
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 3
- data_sources: ['cve'] -> ['cve', 'nvd']