CVE-2002-0307 (CNNVD-200205-124)
中文标题:
Avenger's News System目录遍历漏洞
英文标题:
Directory traversal vulnerability in ans.pl in Avenger's News System (ANS) 2.11 and earlier allows r...
漏洞描述
中文描述:
Avenger's News System (ANS)是用Perl编写的基于表单的WEB更新、管理工具,可运行于绝大多数Unix/Linux系统上。 ANS没有过滤URL请求中的"../",容易遭受目录遍历攻击,导致任意WEB Server进程有权读取的文件内容泄漏。 在ANS的配置文件中定义了$QUERY变量 <define QUERY>"$ENV{'QUERY_STRING'}" ANS实现中存在如下代码处理URL POST请求 if (substr($QUERY, 0, 2) eq "p=") { $plugin = substr((split /&/, $QUERY)[0], 2); if (index("$QUERY", "&") < 0) { $QUERY = ""; } else { $QUERY = substr($QUERY, index("$QUERY", "&")+1); } open (PLUGIN, "$FILE_LOCATION/$plugin"); @plugin = <PLUGIN>; close (PLUGIN); eval("@plugin"); exit; } 注意到这里未对用户输入做"../"过滤。
英文描述:
Directory traversal vulnerability in ans.pl in Avenger's News System (ANS) 2.11 and earlier allows remote attackers to determine the existence of arbitrary files or execute any Perl program on the system via a .. (dot dot) in the p parameter, which reads the target file and attempts to execute the line using Perl's eval function.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| avengers_news_system | avengers_news_system | 2.01 | - | - |
cpe:2.3:a:avengers_news_system:avengers_news_system:2.01:*:*:*:*:*:*:*
|
| avengers_news_system | avengers_news_system | 2.11 | - | - |
cpe:2.3:a:avengers_news_system:avengers_news_system:2.11:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
AV:N/AC:L/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2002-0307 |
2025-11-11 15:17:23 | 2025-11-11 07:32:15 |
| NVD | nvd_CVE-2002-0307 |
2025-11-11 14:50:27 | 2025-11-11 07:41:01 |
| CNNVD | cnnvd_CNNVD-200205-124 |
2025-11-11 15:08:40 | 2025-11-11 07:48:47 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 授权问题
- cnnvd_id: 未提取 -> CNNVD-200205-124
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- severity: SeverityLevel.MEDIUM -> SeverityLevel.HIGH
- cvss_score: 未提取 -> 7.5
- cvss_vector: NOT_EXTRACTED -> AV:N/AC:L/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']