CVE-2004-0940 (CNNVD-200502-029)
HIGH
有利用代码
中文标题:
Apache 缓冲区错误漏洞
英文标题:
Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users...
CVSS分数:
7.8
发布时间:
2004-10-26 04:00:00
漏洞类型:
缓冲区错误
状态:
PUBLISHED
数据质量分数:
0.30
数据版本:
v5
漏洞描述
中文描述:
mod_include是Apache标准模块允许用户在HTML中包含文件执行命令等。 mod_include get_tag()对用户提交输入缺少充分过滤,本地攻击者可以利用这个漏洞进行缓冲区溢出攻击。 问题是get_tag()函数存在缓冲区溢出问题,攻击者从handle_echo()函数可以触发,本地用户可以建立特殊的HTML,当Apache处理时,可能以httpd子进程权限执行任意代码。
英文描述:
Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.
CWE类型:
CWE-131
标签:
local
linux
xCrZx
OSVDB-12881
OSVDB-11003
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| apache | http_server | * | - | - |
cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
|
| openpkg | openpkg | 2.0 | - | - |
cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*
|
| openpkg | openpkg | 2.1 | - | - |
cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*
|
| openpkg | openpkg | 2.2 | - | - |
cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*
|
| hp | hp-ux | 11.00 | - | - |
cpe:2.3:o:hp:hp-ux:11.00:*:*:*:*:*:*:*
|
| hp | hp-ux | 11.11 | - | - |
cpe:2.3:o:hp:hp-ux:11.11:*:*:*:*:*:*:*
|
| hp | hp-ux | 11.20 | - | - |
cpe:2.3:o:hp:hp-ux:11.20:*:*:*:*:*:*:*
|
| hp | hp-ux | 11.22 | - | - |
cpe:2.3:o:hp:hp-ux:11.22:*:*:*:*:*:*:*
|
| slackware | slackware_linux | 8.0 | - | - |
cpe:2.3:o:slackware:slackware_linux:8.0:*:*:*:*:*:*:*
|
| slackware | slackware_linux | 8.1 | - | - |
cpe:2.3:o:slackware:slackware_linux:8.1:*:*:*:*:*:*:*
|
| slackware | slackware_linux | 9.0 | - | - |
cpe:2.3:o:slackware:slackware_linux:9.0:*:*:*:*:*:*:*
|
| slackware | slackware_linux | 9.1 | - | - |
cpe:2.3:o:slackware:slackware_linux:9.1:*:*:*:*:*:*:*
|
| slackware | slackware_linux | 10.0 | - | - |
cpe:2.3:o:slackware:slackware_linux:10.0:*:*:*:*:*:*:*
|
| slackware | slackware_linux | current | - | - |
cpe:2.3:o:slackware:slackware_linux:current:*:*:*:*:*:*:*
|
| suse | suse_linux | 8.0 | - | - |
cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*
|
| suse | suse_linux | 8.1 | - | - |
cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*
|
| suse | suse_linux | 8.2 | - | - |
cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*
|
| suse | suse_linux | 9.0 | - | - |
cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*
|
| suse | suse_linux | 9.1 | - | - |
cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*
|
| suse | suse_linux | 9.2 | - | - |
cpe:2.3:o:suse:suse_linux:9.2:*:*:*:*:*:*:*
|
| trustix | secure_linux | 1.5 | - | - |
cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
OpenPKG-SA-2004.047
vendor-advisory
cve.org
访问
cve.org
无标题
x_refsource_CONFIRM
cve.org
访问
cve.org
无标题
x_refsource_CONFIRM
cve.org
访问
cve.org
MDKSA-2004:134
vendor-advisory
cve.org
访问
cve.org
apache-modinclude-bo(17785)
vdb-entry
cve.org
访问
cve.org
11471
vdb-entry
cve.org
访问
cve.org
RHSA-2005:816
vendor-advisory
cve.org
访问
cve.org
12898
third-party-advisory
cve.org
访问
cve.org
DSA-594
vendor-advisory
cve.org
访问
cve.org
19073
third-party-advisory
cve.org
访问
cve.org
1011783
vdb-entry
cve.org
访问
cve.org
RHSA-2004:600
vendor-advisory
cve.org
访问
cve.org
102197
vendor-advisory
cve.org
访问
cve.org
ADV-2006-0789
vdb-entry
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1073149 [4/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/
mailing-list
cve.org
访问
cve.org
[httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html
mailing-list
cve.org
访问
cve.org
ExploitDB EDB-24694
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-24694
EXPLOIT
exploitdb
访问
exploitdb
CVE Reference: CVE-2004-0940
ADVISORY
cve.org
访问
cve.org
ExploitDB EDB-587
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-587
EXPLOIT
exploitdb
访问
exploitdb
CVSS评分详情
7.8
HIGH
CVSS向量:
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS版本:
3.1
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2004-10-26 04:00:00
修改时间:
2024-08-08 00:31:48
创建时间:
2025-11-11 15:32:21
更新时间:
2025-11-11 17:02:59
利用信息
此漏洞有可利用代码!
利用代码数量:
2
利用来源:
未知
未知
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2004-0940 |
2025-11-11 15:17:29 | 2025-11-11 07:32:21 |
| NVD | nvd_CVE-2004-0940 |
2025-11-11 14:50:56 | 2025-11-11 07:41:08 |
| CNNVD | cnnvd_CNNVD-200502-029 |
2025-11-11 15:08:43 | 2025-11-11 07:48:57 |
| EXPLOITDB | exploitdb_EDB-24694 |
2025-11-11 15:05:25 | 2025-11-11 08:20:47 |
| EXPLOITDB | exploitdb_EDB-587 |
2025-11-11 15:05:25 | 2025-11-11 09:02:59 |
版本与语言
当前版本:
v5
主要语言:
EN
支持语言:
EN
ZH
其他标识符:
:
:
:
:
安全公告
暂无安全公告信息
变更历史
v5
EXPLOITDB
2025-11-11 17:02:59
references_count: 24 → 26; tags_count: 4 → 5
查看详细变更
- references_count: 24 -> 26
- tags_count: 4 -> 5
v4
EXPLOITDB
2025-11-11 16:20:47
references_count: 21 → 24; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- references_count: 21 -> 24
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3
CNNVD
2025-11-11 15:48:57
vulnerability_type: 未提取 → 缓冲区错误; cnnvd_id: 未提取 → CNNVD-200502-029; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 缓冲区错误
- cnnvd_id: 未提取 -> CNNVD-200502-029
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2
NVD
2025-11-11 15:41:08
severity: SeverityLevel.MEDIUM → SeverityLevel.HIGH; cvss_score: 未提取 → 7.8; cvss_vector: NOT_EXTRACTED → CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; cvss_version: NOT_EXTRACTED → 3.1; affected_products_count: 0 → 21; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.HIGH
- cvss_score: 未提取 -> 7.8
- cvss_vector: NOT_EXTRACTED -> CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- cvss_version: NOT_EXTRACTED -> 3.1
- affected_products_count: 0 -> 21
- data_sources: ['cve'] -> ['cve', 'nvd']