首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
Mary is creating malicious code that will steal a user’s cookies by modifying the original client-side Java script. What type of
Mary is creating malicious code that will steal a user’s cookies by modifying the original client-side Java script. What type of
admin
2013-12-19
66
问题
Mary is creating malicious code that will steal a user’s cookies by modifying the original client-side Java script. What type of cross-site scripting vulnerability is she exploiting?
选项
A、Second order
B、DOM-based
C、Persistent
D、Nonpersistent
答案
B
解析
B正确。Mary利用的是一个基于文档对象模型(Document Object Model,DOM)的跨站脚本(Cross-Site Scripting,XSS)漏洞,也叫做本地跨站脚本。DOM是展示浏览器中的HTML和XML文档的标准结构布局。在这样的攻击中,像表单域和cookie这样的文档组件都可以通过JavaScript引用。攻击者使用DOM环境修改原始客户端的JavaScript。这将导致受害者的浏览器执行由此产生的滥用的JavaScript代码。防止这类攻击的最有效方法是禁止浏览器中的脚本支持。
A不正确。因为二阶漏洞或者持久性XSS漏洞,针对的是允许用户输入并将用户的输入存储在数据库或其他地点(如论坛或者留言板)的Web站点。二阶漏洞可导致发生最主要的攻击类型。
C不正确。因为持久性XSS漏洞只不过是二阶漏洞的另外一个名称。正如前所述,这些漏洞允许用户输入存储在数据库或其他地点(如在线论坛或留言板)的数据。这类平台是最常见的受XSS漏洞困扰的对象。弥补这类漏洞的最好办法是安全编程。每个用户的输入都应该进行过滤,并只允许用户输入有限的一套已知的、且安全的字符。
D不正确。因为非持久性XSS漏洞也叫做反映漏洞(reflected vulnerability),它出现在攻击者诱使受害人打开一个用流氓脚本编程的页面以偷取受害人敏感信息的时候(如一个cookie)。这类攻击背后的原理是:动态Web站点上缺乏适当输入或输出验证。
转载请注明原文地址:https://www.kaotiyun.com/show/ONhZ777K
0
CISSP认证
相关试题推荐
Themassmediaisabigpartofourculture,yetitcanalsobeahelper,adviserandteachertoouryounggeneration.Themass
Themassmediaisabigpartofourculture,yetitcanalsobeahelper,adviserandteachertoouryounggeneration.Themass
TheTreasurycouldpocket20millionayearinextrafinesoncethecountry’sspeedcameranetworkisexpanded.Motoringorgani
Individualsandbusinesseshavelegalprotectionforintellectualpropertytheycreateandown.Intellectualproper【C1】______fro
Thetranslatormusthaveanexcellent,up-to-dateknowledgeofhis【C1】______languages,fullfacilityinthehandlingofhistarg
Iftheworld’seducationsystemshaveacommonfocus,itistoturnoutschool-leaverswhoareproficientinmaths.Governments
[A]Marketforglasscraftsisgrowing[B]Dependenceofcomputerdevelopmentonglass[C]Behindtheadaptabilityofglass[D]
APerpetualMotionMachineisafascinatingandlong-discussedtopicthatmoveswellbeyondthescopeofphysics.Inshort,Ape
Sevenyearsago,agroupoffemalescientistsattheMassachusettsInstituteofTechnologyproducedapieceofresearchshowing
RobertF.Kennedyoncesaidthatacountry’sGDPmeasures"everythingexceptthatwhichmakeslifeworthwhile".WithBritainv
随机试题
营运能力分析,主要是衡量企业在______。
休克患者,血压低,脉搏>140次/分,尿量极少,宜选用下列哪种血管活性药物()
1942年延安整风运动的方针是
Pickouttheappropriateexpressionsfromtheeightchoicesbelowandcompletethefollowingdialoguesbyblackeningthecorresp
当腹压突然增加使尿液不自主流出,称为
专职安全员职责不包括()。
小韩是某事业单位职工,由于所学专业与其从事的工作不对口,1年后,接受事业单位培训,重新调整了工作岗位,但仍不能胜任工作。事业单位解除了与小韩的聘用合同,并按当地月工资的2倍支付其经济补偿金。事业单位的做法正确吗?
“牺牲小我保全大我”是一种()表现。
(演示文稿题)公司计划在“创新产品展示及说明会”会议茶歇期间,在大屏幕投影上向来宾自动播放会议的日程和主题,要求市场部助理小王完成相关演示文件的制作。具体要求如下:为该折线图设置“擦除”进入动画效果,效果选项为“自左侧”,按照“系列”逐次单击显示“笔记
ImproveComputer-researchSkillsLikemanycollegestudents,JoseJuarezcarriesaroundapocket-sizedcomputerthatletshi
最新回复
(
0
)