The Web Application Hacker’s Handbook Discovering and Exploiting Security Flaws



Download 5,76 Mb.
Pdf ko'rish
bet789/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   785   786   787   788   789   790   791   792   ...   875
Bog'liq
3794 1008 4334

460

Chapter 12 



Attacking Other Users

70779c12.qxd:WileyRed  9/14/07  3:14 PM  Page 460



In any instance where users enter sensitive data into text input fields, the

autocomplete=off

attribute should be specified within the form or field tag.

Advanced Exploitation Techniques

This section does not describe any new categories of vulnerability that arise

within web applications. Rather, it describes some advanced techniques that may

be employed in the course of exploiting the vulnerabilities already examined.



Leveraging Ajax

We described earlier how Ajax techniques can be used to implement sophisti-

cated user interfaces that behave more like local desktop software than older

web applications ever could.

The ability of Ajax to carry out actions behind the scenes in a flexible and

powerful way makes it extremely attractive to someone seeking to attack other

users of an application. If an attacker has the ability to execute arbitrary

JavaScript within the browser of a victim user (for example, via an XSS vul-

nerability), then he can use Ajax techniques to perform arbitrarily complex

actions involving multiple requests to the vulnerable application.

You have already seen 

XMLHttpRequest

being used to generate a 

TRACE


request to a web application that employed 

HttpOnly


cookies. The following

example shows a more sophisticated attack in which two requests are made to

perform an action on behalf of a victim user. Suppose that a web application

allows authenticated users to view and update their account details, including

their current password, which is masked on-screen. If the application contains

an XSS flaw anywhere within its functionality, then an attacker can inject the

following script to reset the user’s password:




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   785   786   787   788   789   790   791   792   ...   875




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish