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



Download 5,76 Mb.
Pdf ko'rish
bet651/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   647   648   649   650   651   652   653   654   ...   875
Bog'liq
3794 1008 4334

Exploiting the Vulnerability

As you will see, XSS vulnerabilities can be exploited in many different ways to

attack other users of an application. One of the simplest attacks, and the one

that is most commonly envisaged to explain the potential significance of XSS

flaws, results in the attacker capturing the session token of an authenticated

user. Hijacking the user’s session gives the attacker access to all of the data and

functionality to which the user is authorized (see Chapter 7).

The steps involved in this attack are illustrated in Figure 12-3.



Figure 12-3:  The steps involved in a reflected XSS attack

Application 

1. User logs in 

3. User reque

sts attacker’

s URL 


4. Ser

ver responds w

ith  

attacker’



s JavaScript 

5. Attacker’s  

JavaScript  

executes in  

user’s browser 

2. Attacker feeds crafted URL to user 

6. User’s browser sends session token to attacker 

7. Attacker hijacks user’

s sess

ion 


User 

Attacker 




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   647   648   649   650   651   652   653   654   ...   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