发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 16:32:31

[原文]SQL injection vulnerability in Gender MOD 1.1.3 allows remote attackers to gain administrative access via the user_level parameter in the User Profile page.

[CNNVD]phpBB2 Gender Mod远程可插入SQL命令漏洞(CNNVD-200212-587)

        phpBB2中的Gender Mod对用户的输入缺少正确的检查,远程攻击者可以利用这个漏洞进行SQL命令插入攻击。
        Gender Mod是phpBB2发布的修改器,可以用于修改用户档案等内容,Gender Mod对Post的值没有进行充分检查,可以增加一些SQL字段到UPDATE sql命令中,远程攻击者可以插入恶意SQL查询使更改UPDATE正常操作,可导致获得phpBB2管理员权限。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)


- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  XF  phpbb-gendermod-admin-privileges(9692)
(UNKNOWN)  BUGTRAQ  20020727 phpBB/gender mod allows get admin privilege, exploit/patch

- 漏洞信息

phpBB2 Gender Mod远程可插入SQL命令漏洞
危急 输入验证
2002-12-31 00:00:00 2006-03-01 00:00:00
        phpBB2中的Gender Mod对用户的输入缺少正确的检查,远程攻击者可以利用这个漏洞进行SQL命令插入攻击。
        Gender Mod是phpBB2发布的修改器,可以用于修改用户档案等内容,Gender Mod对Post的值没有进行充分检查,可以增加一些SQL字段到UPDATE sql命令中,远程攻击者可以插入恶意SQL查询使更改UPDATE正常操作,可导致获得phpBB2管理员权限。

- 公告与补丁

        * 打开forumroot/includes/usercp_register.php,查找如下代码:
        $gender = ( isset($HTTP_POST_VARS['gender']) ) ? $HTTP_POST_VARS ['gender'] : 0;
        $gender = ( isset($HTTP_POST_VARS['gender']) ) ? intval ($HTTP_POST_VARS['gender']) : 0;
        phpBB Group

- 漏洞信息 (21660)

phpBB2 Gender Mod 1.1.3 Remote SQL Injection Vulnerability (EDBID:21660)
php webapps
2002-07-29 Verified
0 langtuhaohoa caothuvolam
N/A [点击下载]

phpBB2 is an open-source web forum application that is written in PHP and backended by a number of database products. It will run on most Unix and Linux variants, as well as Microsoft Windows operating systems.

Gender Mod is a modification for phpBB2 which allows the association of a gender with a given user profile. A SQL injection vulnerability has been reported in this mod. A remote user may subvert the SQL statement used to update their user profile, possibly gaining administrative access to the system. 

"0, user_level = 1 " 		

- 漏洞信息

phpBB Gender Mod profile.php gender Parameter SQL Injection
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality, Loss of Integrity
Exploit Public

- 漏洞描述

phpBB contains a flaw that will allow an attacker to inject arbitrary SQL code. The problem is that the "gender" variable in the "profile.php" module is not verified properly and will allow an attacker to inject or manipulate SQL queries.

- 时间线

2002-07-22 Unknow
2002-07-22 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, the vulnerability reporter has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者