CVE-2005-2977 (CNNVD-200511-040)

LOW
中文标题:
PAM Unix_Chkpwd暴力密码破解漏洞
英文标题:
The SELinux version of PAM before 0.78 r3 allows local users to perform brute force password guessin...
CVSS分数: 2.1
发布时间: 2005-11-01 02:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

PAM(可插拔认证模块)系统安全工具允许系统管理员无需重新编译处理认证的程序便可设置认证策略。 如果启用了SELinux的话,PAM的unix_chkpwd帮助程序验证用户口令的方式存在漏洞,成功利用这个漏洞的攻击者可能猜到其他用户的口令,获得非授权访问。 在通常的环境下,本地非root用户无法通过unix_chkpwd命令验证其他本地用户的口令,但应用补丁添加了SELinux功能,导致本地用户可以对其他本地用户帐号暴力猜测口令: 在SELinux补丁中: /* - * determine the current user's name is + * determine the current user's name is. + * On a SELinux enabled system, policy will prevent third parties from using + * unix_chkpwd as a password guesser. Leaving the existing check prevents + * su from working, Since the current uid is the users and the password is + * for root. */ - user = getuidname(getuid()); - if (argc == 2) { - /* if the caller specifies the username, verify that user - matches it */ - if (strcmp(user, argv[1])) { - force_failure = 1; - } + if (SELINUX_ENABLED) { + user=argv[1]; + } + else { + user = getuidname(getuid()); + /* if the caller specifies the username, verify that user + matches it */ + if (strcmp(user, argv[1])) { + return PAM_AUTH_ERR; + } + } 可见如果将SELinux设置为permissive模式的话可以正常运行unix_chkpwd,但即使设置为enforcing模式仍可运行。

英文描述:

The SELinux version of PAM before 0.78 r3 allows local users to perform brute force password guessing attacks via unix_chkpwd, which does not log failed guesses or delay its responses.

CWE类型:
(暂无数据)
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
pam pam * - - cpe:2.3:a:pam:pam:*:*:selinux:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
17346 third-party-advisory
cve.org
访问
RHSA-2005:805 vendor-advisory
cve.org
访问
17352 third-party-advisory
cve.org
访问
ADV-2005-2227 vdb-entry
cve.org
访问
1015111 vdb-entry
cve.org
访问
oval:org.mitre.oval:def:10193 vdb-entry
cve.org
访问
无标题 x_refsource_CONFIRM
cve.org
访问
17350 third-party-advisory
cve.org
访问
17365 third-party-advisory
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
15217 vdb-entry
cve.org
访问
GLSA-200510-22 vendor-advisory
cve.org
访问
CVSS评分详情
2.1
LOW
CVSS向量: AV:L/AC:L/Au:N/C:P/I:N/A:N
CVSS版本: 2.0
机密性
PARTIAL
完整性
NONE
可用性
NONE
时间信息
发布时间:
2005-11-01 02:00:00
修改时间:
2024-08-07 22:53:29
创建时间:
2025-11-11 15:32:28
更新时间:
2025-11-11 15:49:01
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2005-2977 2025-11-11 15:17:36 2025-11-11 07:32:28
NVD nvd_CVE-2005-2977 2025-11-11 14:51:20 2025-11-11 07:41:14
CNNVD cnnvd_CNNVD-200511-040 2025-11-11 15:08:48 2025-11-11 07:49:01
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 15:49:01
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200511-040; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200511-040
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:14
severity: SeverityLevel.MEDIUM → SeverityLevel.LOW; cvss_score: 未提取 → 2.1; cvss_vector: NOT_EXTRACTED → AV:L/AC:L/Au:N/C:P/I:N/A:N; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 1; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • severity: SeverityLevel.MEDIUM -> SeverityLevel.LOW
  • cvss_score: 未提取 -> 2.1
  • cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:P/I:N/A:N
  • cvss_version: NOT_EXTRACTED -> 2.0
  • affected_products_count: 0 -> 1
  • data_sources: ['cve'] -> ['cve', 'nvd']