CVE-2006-1339 (CNNVD-200603-333)
中文标题:
CutePHP CuteNews 'function.php'本地文件包含漏洞
英文标题:
Directory traversal vulnerability in inc/functions.inc.php in CuteNews 1.4.1 and possibly other vers...
漏洞描述
中文描述:
Cutenews是一款功能强大的新闻管理系统,使用二维表格式文本文件存储数据。 Cutenews在"inc/function.php"中没有正确地验证"archive"参数的输入数据,导致远程攻击者可以访问任意文件(如users.db.php和config.php)。 以下是$cutepath/inc/functions.inc.php的第七行: if( isset($_GET['archive']) and $_GET['archive'] != "" and !eregi("^[_a-zA-Z0-9-]{1,}$", $_GET['archive'])){ die("invalid archive characters"); } 可见cutenews只过滤了"$_GET['archive']"但没有过滤"$_POST['archive']"和"$COOKIE['archive']!",而在剩下的代码部分使用了"$archive"而不是"$_GET['archive'] !!!?",例如: if($archive == ""){ $news_file = "$cutepath/data/news.txt"; $comm_file = "$cutepath/data/comments.txt"; }else{ $news_file = "$cutepath/data/archives/$archive.news.arch"; $comm_file = "$cutepath/data/archives/$archive.comments.arch"; } ... 成功攻击要求打开了"register_globals"。 如果攻击者可以提供并不存在的文件名,服务端就会返回有关cutenews路径的信息,如: Warning: file([PATH]/cutenews/data/archives/hamid.news.arch): failed to open stream: No such file or directory in [PATH]\cutenews\inc\shows.inc.php on line 583
英文描述:
Directory traversal vulnerability in inc/functions.inc.php in CuteNews 1.4.1 and possibly other versions, when register_globals is enabled, allows remote attackers to include arbitrary files via a .. (dot dot) sequence and trailing NULL (%00) byte in the archive parameter in an HTTP POST or COOKIE request, which bypasses a sanity check that is only applied to a GET request.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| cutephp | cutenews | * | - | - |
cpe:2.3:a:cutephp:cutenews:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
AV:N/AC:L/Au:N/C:N/I:P/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2006-1339 |
2025-11-11 15:17:40 | 2025-11-11 07:32:32 |
| NVD | nvd_CVE-2006-1339 |
2025-11-11 14:51:48 | 2025-11-11 07:41:18 |
| CNNVD | cnnvd_CNNVD-200603-333 |
2025-11-11 15:08:50 | 2025-11-11 07:49:05 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 路径遍历
- cnnvd_id: 未提取 -> CNNVD-200603-333
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 5.0
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:L/Au:N/C:N/I:P/A:N
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 1
- data_sources: ['cve'] -> ['cve', 'nvd']