CVE-2003-0171 (CNNVD-200305-007)

HIGH 有利用代码
中文标题:
Apple MacOS X DirectoryService权限提升漏洞
英文标题:
DirectoryServices in MacOS X trusts the PATH environment variable to locate and execute the touch co...
CVSS分数: 7.2
发布时间: 2003-04-15 04:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v4
漏洞描述
中文描述:

DirectoryServices是MacOS X信息和验证子系统,在启动阶段启动,默认setuid root属性安装。 DirectoryServices由于使用不安全函数system()执行命令,本地攻击者可以利用这个漏洞以root用户权限在系统上执行任意命令。 在DirectoryService启动的时,应用程序通过执行touch(1) UNIX命令建立文件,它通过system() libc函数来执行,由于调用system()函数时没有指定touch(1)命令的全路径,攻击者可以修改PATH环境变量执行恶意的伪造的touch(1)命令,导致以root用户权限执行包含的任意命令。 要利用这个漏洞,必须首先停止DirectoryServices服务,这可以重复连接625端口完成。

英文描述:

DirectoryServices in MacOS X trusts the PATH environment variable to locate and execute the touch command, which allows local users to execute arbitrary commands by modifying the PATH to point to a directory containing a malicious touch program.

CWE类型:
(暂无数据)
标签:
local osx Neeko Oni OSVDB-7042
受影响产品
厂商 产品 版本 版本范围 平台 CPE
apple mac_os_x 10.0 - - cpe:2.3:o:apple:mac_os_x:10.0:*:*:*:*:*:*:*
apple mac_os_x 10.0.1 - - cpe:2.3:o:apple:mac_os_x:10.0.1:*:*:*:*:*:*:*
apple mac_os_x 10.0.2 - - cpe:2.3:o:apple:mac_os_x:10.0.2:*:*:*:*:*:*:*
apple mac_os_x 10.0.3 - - cpe:2.3:o:apple:mac_os_x:10.0.3:*:*:*:*:*:*:*
apple mac_os_x 10.0.4 - - cpe:2.3:o:apple:mac_os_x:10.0.4:*:*:*:*:*:*:*
apple mac_os_x 10.1 - - cpe:2.3:o:apple:mac_os_x:10.1:*:*:*:*:*:*:*
apple mac_os_x 10.1.1 - - cpe:2.3:o:apple:mac_os_x:10.1.1:*:*:*:*:*:*:*
apple mac_os_x 10.1.2 - - cpe:2.3:o:apple:mac_os_x:10.1.2:*:*:*:*:*:*:*
apple mac_os_x 10.1.3 - - cpe:2.3:o:apple:mac_os_x:10.1.3:*:*:*:*:*:*:*
apple mac_os_x 10.1.4 - - cpe:2.3:o:apple:mac_os_x:10.1.4:*:*:*:*:*:*:*
apple mac_os_x 10.1.5 - - cpe:2.3:o:apple:mac_os_x:10.1.5:*:*:*:*:*:*:*
apple mac_os_x 10.2 - - cpe:2.3:o:apple:mac_os_x:10.2:*:*:*:*:*:*:*
apple mac_os_x 10.2.1 - - cpe:2.3:o:apple:mac_os_x:10.2.1:*:*:*:*:*:*:*
apple mac_os_x 10.2.2 - - cpe:2.3:o:apple:mac_os_x:10.2.2:*:*:*:*:*:*:*
apple mac_os_x 10.2.3 - - cpe:2.3:o:apple:mac_os_x:10.2.3:*:*:*:*:*:*:*
apple mac_os_x 10.2.4 - - cpe:2.3:o:apple:mac_os_x:10.2.4:*:*:*:*:*:*:*
apple mac_os_x_server 10.0 - - cpe:2.3:o:apple:mac_os_x_server:10.0:*:*:*:*:*:*:*
apple mac_os_x_server 10.2 - - cpe:2.3:o:apple:mac_os_x_server:10.2:*:*:*:*:*:*:*
apple mac_os_x_server 10.2.1 - - cpe:2.3:o:apple:mac_os_x_server:10.2.1:*:*:*:*:*:*:*
apple mac_os_x_server 10.2.2 - - cpe:2.3:o:apple:mac_os_x_server:10.2.2:*:*:*:*:*:*:*
apple mac_os_x_server 10.2.3 - - cpe:2.3:o:apple:mac_os_x_server:10.2.3:*:*:*:*:*:*:*
apple mac_os_x_server 10.2.4 - - cpe:2.3:o:apple:mac_os_x_server:10.2.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
A041003-1 vendor-advisory
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
ExploitDB EDB-15 EXPLOIT
exploitdb
访问
Download Exploit EDB-15 EXPLOIT
exploitdb
访问
CVE Reference: CVE-2003-0171 ADVISORY
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
时间信息
发布时间:
2003-04-15 04:00:00
修改时间:
2024-08-08 01:43:36
创建时间:
2025-11-11 15:32:18
更新时间:
2025-11-11 16:08:45
利用信息
此漏洞有可利用代码!
利用代码数量: 1
利用来源:
未知
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2003-0171 2025-11-11 15:17:26 2025-11-11 07:32:18
NVD nvd_CVE-2003-0171 2025-11-11 14:50:37 2025-11-11 07:41:05
CNNVD cnnvd_CNNVD-200305-007 2025-11-11 15:08:42 2025-11-11 07:48:51
EXPLOITDB exploitdb_EDB-15 2025-11-11 15:05:29 2025-11-11 08:08:45
版本与语言
当前版本: v4
主要语言: EN
支持语言:
EN ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4 EXPLOITDB
2025-11-11 16:08:45
references_count: 2 → 5; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
  • references_count: 2 -> 5
  • tags_count: 0 -> 4
  • data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3 CNNVD
2025-11-11 15:48:51
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200305-007; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200305-007
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:05
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 → 22; 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 -> 22
  • data_sources: ['cve'] -> ['cve', 'nvd']