CVE-2007-3009 (CNNVD-200706-031)

MEDIUM 有利用代码
中文标题:
Mbedthis AppWeb URL协议格式串处理漏洞
英文标题:
Format string vulnerability in the MprLogToFile::logEvent function in Mbedthis AppWeb 2.0.5-4, when ...
CVSS分数: 4.3
发布时间: 2007-06-04 17:00:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v4
漏洞描述
中文描述:

Mbedthis Software AppWeb是一款HTTP服务程序。 AppWeb在处理URL的协议部分时存在格式串错误,远程攻击者可能利用此漏洞导致拒绝服务。 在MprLogToFile::logEvent()函数中,如果没有定义实际的文件描述符,就会将一些错误记录到STDERR,执行以下调用: ======= start code ============ if (logFd < 0 & & level <= 1) { // // Always output fatal and error messages // mprFprintf(MPR_STDERR, buf); return; } // OPT -- could get length above write(logFd, buf, strlen(buf)); ========= end code ========== 如果用户提交的GET请求包含有特殊字符的话,如: "GET %n://localhost:80/index.html HTTP/1.1..Host: 172.19.15.11..User-Agent: Security test..Content-Length: 0..Cache-Control: no-cache....\r\n\r\n" "GET %s%s://localhost:80/index.html HTTP/1.1..Host: 172.19.15.11..User-Agent: Security test..Content-Length: 0..Cache-Control: no-cache....\r\n\r\n" "GET %d://localhost:80/index.html HTTP/1.1..Host: 172.19.15.11..User-Agent: Security test..Content-Length: 0..Cache-Control: no-cache....\r\n\r\n" 服务器无法找到这样的页面,于是试图向stderr写入错误消息。当将上述字符串做为buf参数传送给mprFprintf时,mprFprintf(更具体来讲是mprSprintfCore)试图将%s(或%d、%s)匹配到列表的参数,但列表中根本就不存在参数,这就导致出现分段错误,守护程序会崩溃。成功利用这个漏洞要求启用了日志功能但appweb.conf中没有ErrorLog指令。

英文描述:

Format string vulnerability in the MprLogToFile::logEvent function in Mbedthis AppWeb 2.0.5-4, when the build supports logging but the configuration disables logging, allows remote attackers to cause a denial of service (daemon crash) via format string specifiers in the HTTP scheme, as demonstrated by a "GET %n://localhost:80/" request.

CWE类型:
(暂无数据)
标签:
dos multiple Nir Rachmel OSVDB-35510
受影响产品
厂商 产品 版本 版本范围 平台 CPE
mbedthis_software mbedthis_appweb_http_server 2.0.5-4 - - cpe:2.3:a:mbedthis_software:mbedthis_appweb_http_server:2.0.5-4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
25641 third-party-advisory
cve.org
访问
24454 vdb-entry
cve.org
访问
ADV-2007-2159 vdb-entry
cve.org
访问
35510 vdb-entry
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
ExploitDB EDB-30187 EXPLOIT
exploitdb
访问
Download Exploit EDB-30187 EXPLOIT
exploitdb
访问
CVE Reference: CVE-2007-3009 ADVISORY
cve.org
访问
CVSS评分详情
4.3
MEDIUM
CVSS向量: AV:N/AC:M/Au:N/C:N/I:N/A:P
CVSS版本: 2.0
机密性
NONE
完整性
NONE
可用性
PARTIAL
时间信息
发布时间:
2007-06-04 17:00:00
修改时间:
2024-08-07 13:57:54
创建时间:
2025-11-11 15:32:44
更新时间:
2026-01-26 02:17:12
利用信息
此漏洞有可利用代码!
利用代码数量: 1
利用来源:
未知
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2007-3009 2025-11-11 15:17:53 2025-11-11 07:32:44
NVD nvd_CVE-2007-3009 2025-11-11 14:52:11 2025-11-11 07:41:30
CNNVD cnnvd_CNNVD-200706-031 2025-11-11 15:08:57 2025-11-11 07:49:18
EXPLOITDB exploitdb_EDB-30187 2025-11-11 15:05:27 2025-11-11 08:25:25
版本与语言
当前版本: v4
主要语言: EN
支持语言:
EN ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4 EXPLOITDB
2025-11-11 16:25:25
references_count: 5 → 8; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
  • references_count: 5 -> 8
  • tags_count: 0 -> 4
  • data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3 CNNVD
2025-11-11 15:49:18
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200706-031; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200706-031
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:30
cvss_score: 未提取 → 4.3; cvss_vector: NOT_EXTRACTED → AV:N/AC:M/Au:N/C:N/I:N/A:P; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 1; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • cvss_score: 未提取 -> 4.3
  • cvss_vector: NOT_EXTRACTED -> AV:N/AC:M/Au:N/C:N/I:N/A:P
  • cvss_version: NOT_EXTRACTED -> 2.0
  • affected_products_count: 0 -> 1
  • data_sources: ['cve'] -> ['cve', 'nvd']