CVE-2002-1233 (CNNVD-200211-006)
中文标题:
Apahce HTDigest和HTPasssWD组件多个本地漏洞
英文标题:
A regression error in the Debian distributions of the apache-ssl package (before 1.3.9 on Debian 2.2...
漏洞描述
中文描述:
Apache是一款免费开放源代码的WEB服务程序。 Apache存在多个漏洞可以导致安全问题,本地攻击者可以利用这些漏洞进行修改Apache密码文件内容等攻击。 1、support/htpasswd.c中存在竞争条件漏洞: main() tempfilename = tmpnam(tname_buf); ftemp = fopen(tempfilename, "w+"); ... copy_file(ftemp, fpw); 当管理员运行htpasswd时攻击者利用这个漏洞可导致任意本地用户可以读取、修改Apache密码文件内容。 2、support/htdigest.c存在竞争条件漏洞: main() tn = tmpnam(NULL); if (!(tfp = fopen(tn, "w"))) ... ... sprintf(command, "cp %s %s", tn, argv[1]); system(command); 当管理员运行htpasswd时攻击者利用这个漏洞可导致任意本地用户可以读,修改Apache密码文件内容。 3、support/htdigest.c:main()中包含多个不安全system()调用,不过htdigest不能从任何CGI脚本中调用。 4、support/htdigest.c存在缓冲区溢出问题: main() 缓冲区溢出存在多处,下面就是一个例子: #define MAX_STRING_LEN 256 int main(int argc, char *argv[]) { char user[MAX_STRING_LEN]; strcpy(user, argv[3]); 不过htdigest不能从任何CGI脚本中调用,所以不存在远程缓冲区溢出利用的可能。
英文描述:
A regression error in the Debian distributions of the apache-ssl package (before 1.3.9 on Debian 2.2, and before 1.3.26 on Debian 3.0), for Apache 1.3.27 and earlier, allows local users to read or modify the Apache password file via a symlink attack on temporary files when the administrator runs (1) htpasswd or (2) htdigest, a re-introduction of a vulnerability that was originally identified and addressed by CVE-2001-0131.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| apache | http_server | 1.3.17 | - | - |
cpe:2.3:a:apache:http_server:1.3.17:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.18 | - | - |
cpe:2.3:a:apache:http_server:1.3.18:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.19 | - | - |
cpe:2.3:a:apache:http_server:1.3.19:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.20 | - | - |
cpe:2.3:a:apache:http_server:1.3.20:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.22 | - | - |
cpe:2.3:a:apache:http_server:1.3.22:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.23 | - | - |
cpe:2.3:a:apache:http_server:1.3.23:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.24 | - | - |
cpe:2.3:a:apache:http_server:1.3.24:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.25 | - | - |
cpe:2.3:a:apache:http_server:1.3.25:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.26 | - | - |
cpe:2.3:a:apache:http_server:1.3.26:*:*:*:*:*:*:*
|
| apache | http_server | 1.3.27 | - | - |
cpe:2.3:a:apache:http_server:1.3.27:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
cve.org
CVSS评分详情
AV:L/AC:H/Au:N/C:P/I:P/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2002-1233 |
2025-11-11 15:17:24 | 2025-11-11 07:32:16 |
| NVD | nvd_CVE-2002-1233 |
2025-11-11 14:50:28 | 2025-11-11 07:41:03 |
| CNNVD | cnnvd_CNNVD-200211-006 |
2025-11-11 15:08:41 | 2025-11-11 07:48:49 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200211-006
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.LOW
- cvss_score: 未提取 -> 2.6
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:H/Au:N/C:P/I:P/A:N
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 10
- data_sources: ['cve'] -> ['cve', 'nvd']