CVE-2003-1054 (CNNVD-200304-113)
中文标题:
Apache Mod_Access_Referer NULL指针引用远程拒绝服务攻击漏洞
英文标题:
mod_access_referer 1.0.2 allows remote attackers to cause a denial of service (crash) via a malforme...
漏洞描述
中文描述:
Apache Mod_Access_Referer模块可实现基于"Referer" HTTP头字段的访问控制。 Mod_Access_Referer模块解析非法HTTP Referer头字段时存在问题,远程攻击者可以利用这个漏洞对Apache进行拒绝服务攻击。 在find_allowdeny()函数中,uri_components结构的"uptr"由Apache ap_parse_uri_components函数初始化,这个结构"hostname"指针回提供给is_ip()函数用于判断由referer字段的值是否为IP地址或主机名。相关代码如下: --- -snip snip- --- ap_parse_uri_components (r->pool, ap_table_get (r->headers_in, "Referer"), &uptr); if (!is_ip (uptr.hostname)) { --- -snip snip- --- static int is_ip (const char *host) { /* this just tests if it matches [\d.]* */ /* XX is a better test needed? */ while ((*host == '.') || ap_isdigit (*host)) host++; return (*host == '\0'); } --- -snip snip- --- 当服务器接收到不正确的referer头字段,ap_parse_uri_components会不初始化uptr.hostname指针,这就导致is_ip()会读取NULL指针而发生段错误,产生服务崩溃。
英文描述:
mod_access_referer 1.0.2 allows remote attackers to cause a denial of service (crash) via a malformed Referer header that is missing a hostname, as parsed by the ap_parse_uri_components function in Apache, which triggers a null dereference.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| mod_access_referer | mod_access_referer | 1.0.2 | - | - |
cpe:2.3:a:mod_access_referer:mod_access_referer:1.0.2:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
cve.org
exploitdb
exploitdb
cve.org
CVSS评分详情
AV:N/AC:L/Au:N/C:N/I:N/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2003-1054 |
2025-11-11 15:17:27 | 2025-11-11 07:32:19 |
| NVD | nvd_CVE-2003-1054 |
2025-11-11 14:50:37 | 2025-11-11 07:41:06 |
| CNNVD | cnnvd_CNNVD-200304-113 |
2025-11-11 15:08:42 | 2025-11-11 07:48:51 |
| EXPLOITDB | exploitdb_EDB-22505 |
2025-11-11 15:05:27 | 2025-11-11 08:17:33 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 5 -> 8
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-200304-113
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 5.0
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:L/Au:N/C:N/I:N/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 1
- data_sources: ['cve'] -> ['cve', 'nvd']