Firefox爱好者

提供Mozilla Firefox火狐浏览器下载、扩展、插件、使用技巧以及Firefox中文版的最新资讯。

« 如何利用SEO推介火狐狸浏览器连载:使用 Firefox攻击Web2.0应用(二) »

连载:使用 Firefox攻击Web2.0应用(一)

 一、引言

Ajax和交互式的Web Services正撑起Web2.0应用的大梁。技术的革新也给这项应用带来了新的安全挑战。

本文介绍了一些方法、工具和技巧,来研究Web2.0应用中面临的安全问题,介绍使用Firefox和它的插件来发现和定位安全漏洞。本文的内容主要有以下几个方面:

(1)Web2.0应用架构和它面临的安全问题;

(2)Web2.0安全评估面临的挑战,例如,发现隐藏的调用、网络爬虫问题和客户端调用逻辑的发现;

(3)使用调试工具Firebug,发现XHR(XmlHttpRequest)调用;

(4)使用工具Chickenfoot,仿真浏览器事件的自动化执行;

(5)使用调试工具Firebug,设置断点,对Web2.0应用进行单步调试;

(6)漏洞的检测方法。

二、Web2.0应用概述

Web2.0作为下一代Web应用,是诸多已有技术的综合。其中,XML驱动的Web Services运行在SOAP、XML-RPC上,REST(Representational State Transfer)架构则给以资源为中心的Web应用带来了极大的方便。Web2.0利用Ajax技术和丰富的互联网应用组件,例如Flash,给终端用户提供了强大的应用接口。

Web2.0的技术革新对客户端浏览器和服务器之间的Web应用和通信机制产生了重大的影响。与此同时,这项技术革新也给Web应用带来了新的安全挑战。

诸如Yamanner、Samy 和 Spaceflash等新式蠕虫能够破坏客户端Ajax框架,从而给黑客提供新的攻击途径,危及到存储在客户端主机的敏感信息的安全。

                                                                             

图1 Web2.0架构

Web2.0的结构如图1所示,左侧是浏览器端的处理过程,可以分为以下几个层次:

(1)表示层:HTML/CSS提供在浏览器窗口中显示的方案;

(2)逻辑处理层:在浏览器中运行的JavaScript负责业务逻辑和通信逻辑的执行。Ajax驱动组件位于这一层;

(3)传输层:XMLHttpRequest对象提供了客户端浏览器和服务器之间的异步通信和XML数据交换机制,这里的XMLHttpRequest对象使用HTTP或者HTTPs协议。

服务器端组件在图1的右侧,位于服务器端防火墙后面,它包括了配置好的Web Services和传统的Web应用资源。一个Ajax资源运行在客户端浏览器中,可以直接与基于XML的Web Services“对话”,交换数据而不刷新整个页面。这个数据交换过程对于客户端用户来说是透明的,换句话说,用户在这期间感觉不到浏览器页面的刷新。页面刷新和重定向是第一代Web应用的不可缺少的组成部分,但到了Web2.0时代,这些操作被Ajax的异步操作所取代。

此文来源:赛迪网

  • quote 1.wssag
  • http://www.h863.com
  • 人民网、雅虎网发表的最新评论,关于健康的网站包括:三九健康、南方网、39健康。其中健康网有关健康。
    亚健康属于非疾病状态,要摆脱亚健康状态,要靠自己主动预防。
    职业咨询可以为你解决职业发展中的困惑,心理诊所可以解决心理上的问题,而心理咨询提供通俗易懂的心理辅导,通过心理咨询师。 817050717
  • 2008-6-18 3:44:26 回复该留言
  • quote 3.expensive
  • http://www.bestbuynike.com
  • air jordans 23 is black air jordans,air jordans on sale is more expensive,air jordansis not only for man but also have women's air jordans and baby air jordans. clear air jordans is very simple.history of air jordans has a long time.
    nike men's shox flight lifted basketball shoe,thenike shoesis accept by young man.nike shoes is very Light.but the women like nike shoes.
    I like jordan shoes,jordan retro shoes and new jordan shoes.There are many jordan shoesin the Shops.micheal jordan shoes including jordan 23 shoes are very popular. 746056325
  • 2008-6-20 5:03:52 回复该留言
  • quote 4.cheongsam
  • http://www.prettyladygirl.com/
  • white cheongsam and black cheongsam all buy cheongsam.newcheongsamis beauty.plus size cheongsam,male cheongsam and chinese cheongsam dress are blue cheongsam.
    chinese cheongsam wholesale hava wedding cheongsam.we can buy silk cheongsam wholesale forcheongsam wholesaleand cheongsam shoes.by cheongsam wholesale.
    duke study in china,simon alsostudy in china.They are study in china,we allstudy in china. 907107910
  • 2008-6-21 16:06:33 回复该留言
  • quote 5.trade
  • http://www.biztrademarket.com
  • we find international trade jobs or international trade law.In international trade center,theinternational tradeis very international trade statistics
    china trade surplus is a china trade show.china world trade is a free tradechina trade.china free trade including us china trade deficit or china trade shows.
    foreign trade statistics and foreign trade policy is studied by census gov foreign trade.the foreign trade go to census gov foreign trade schedules b search. 722508807
  • 2008-6-22 13:24:11 回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.7 Laputa Build 70216

Copyright 2007 FireFoxFans.Com. All Rights Reserved.
  浙ICP备07006558号