CVE-2006-2866 (CNNVD-200606-132)

MEDIUM 有利用代码
中文标题:
DotClear prepend.php 远程文件包含漏洞
英文标题:
PHP remote file inclusion vulnerability in layout/prepend.php in DotClear 1.2.4 and earlier allows r...
CVSS分数: 5.1
发布时间: 2006-06-06 20:03:00
漏洞类型: 授权问题
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v4
漏洞描述
中文描述:

dotClear是一个的基于PHP和MySQL的Blog系统。 dotClear的实现上存在输入验证漏洞,远程攻击者可能利用此漏洞在服务器上以Web进程权限执行任意命令。 在dotClear的layout/prepend.php文件78-104行: ... # Variable de conf $theme_path = $blog_dc_path.'/themes/'; $theme_uri = dc_app_url.'/themes/'; $img_path = dc_img_url; # D?finition du th?me et de la langue $__theme = dc_theme; $__lang = dc_default_lang; # Ajout des functions.php des plugins $objPlugins = new plugins(dirname(__FILE__).'/../'.DC_ECRIRE.'/tools/'); foreach ($objPlugins->getFunctions() as $pfunc) { require_once $pfunc; } # D?finition du template if (!is_dir($theme_path.$__theme)) { header('Content-type: text/plain'); echo 'Le th?me '.$__theme.' n\'existe pas'; exit; } if (file_exists($theme_path.$__theme.'/template.php')) { $dc_template_file = $theme_path.$__theme.'/template.php'; } else { $dc_template_file = $theme_path.'default/template.php'; } echo $dc_template_file; # Prepend du template s'il existe if (file_exists(dirname($dc_template_file).'/prepend.php')) { require dirname($dc_template_file).'/prepend.php'; } ... 没有正确的过滤$blog_dc_path变量。在PHP5中,由于is_dir()和file_exists()函数支持ftp wrapper,因此攻击者可以从远程资源在themes/default/文件夹中包含任意prepend.php文件并执行PHP代码。

英文描述:

PHP remote file inclusion vulnerability in layout/prepend.php in DotClear 1.2.4 and earlier allows remote attackers to execute arbitrary PHP code via a FTP URL in the blog_dc_path parameter, which passes file_exists() and is_dir() tests on PHP 5.

CWE类型:
(暂无数据)
标签:
webapps php rgod OSVDB-25977
受影响产品
厂商 产品 版本 版本范围 平台 CPE
dotclear dotclear 1.2.1 - - cpe:2.3:a:dotclear:dotclear:1.2.1:*:*:*:*:*:*:*
dotclear dotclear 1.2.2 - - cpe:2.3:a:dotclear:dotclear:1.2.2:*:*:*:*:*:*:*
dotclear dotclear 1.2.3 - - cpe:2.3:a:dotclear:dotclear:1.2.3:*:*:*:*:*:*:*
dotclear dotclear 1.2.4 - - cpe:2.3:a:dotclear:dotclear:1.2.4:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
dotclear-blogdcpath-file-include(26917) vdb-entry
cve.org
访问
ADV-2006-2137 vdb-entry
cve.org
访问
无标题 x_refsource_MISC
cve.org
访问
1053 third-party-advisory
cve.org
访问
20437 third-party-advisory
cve.org
访问
18259 vdb-entry
cve.org
访问
20060603 DotClear <= 1.2.4 'blog_dc_path' (php5) arbitrary remote inclusion mailing-list
cve.org
访问
ExploitDB EDB-1869 EXPLOIT
exploitdb
访问
Download Exploit EDB-1869 EXPLOIT
exploitdb
访问
CVE Reference: CVE-2006-2866 ADVISORY
cve.org
访问
CVSS评分详情
5.1
MEDIUM
CVSS向量: AV:N/AC:H/Au:N/C:P/I:P/A:P
CVSS版本: 2.0
机密性
PARTIAL
完整性
PARTIAL
可用性
PARTIAL
时间信息
发布时间:
2006-06-06 20:03:00
修改时间:
2024-08-07 18:06:27
创建时间:
2025-11-11 15:32:34
更新时间:
2026-01-19 09:41:40
利用信息
此漏洞有可利用代码!
利用代码数量: 1
利用来源:
未知
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2006-2866 2025-11-11 15:17:42 2025-11-11 07:32:34
NVD nvd_CVE-2006-2866 2025-11-11 14:51:49 2025-11-11 07:41:20
CNNVD cnnvd_CNNVD-200606-132 2025-11-11 15:08:51 2025-11-11 07:49:07
EXPLOITDB exploitdb_EDB-1869 2025-11-11 15:05:33 2025-11-11 08:14:08
版本与语言
当前版本: v4
主要语言: EN
支持语言:
EN ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4 EXPLOITDB
2025-11-11 16:14:08
references_count: 7 → 10; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
  • references_count: 7 -> 10
  • tags_count: 0 -> 4
  • data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3 CNNVD
2025-11-11 15:49:07
vulnerability_type: 未提取 → 授权问题; cnnvd_id: 未提取 → CNNVD-200606-132; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 授权问题
  • cnnvd_id: 未提取 -> CNNVD-200606-132
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:41:20
cvss_score: 未提取 → 5.1; cvss_vector: NOT_EXTRACTED → AV:N/AC:H/Au:N/C:P/I:P/A:P; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 4; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • cvss_score: 未提取 -> 5.1
  • cvss_vector: NOT_EXTRACTED -> AV:N/AC:H/Au:N/C:P/I:P/A:P
  • cvss_version: NOT_EXTRACTED -> 2.0
  • affected_products_count: 0 -> 4
  • data_sources: ['cve'] -> ['cve', 'nvd']