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


Delivery Mechanisms for XSS Attacks



Download 5,76 Mb.
Pdf ko'rish
bet684/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   680   681   682   683   684   685   686   687   ...   875
Bog'liq
3794 1008 4334

Delivery Mechanisms for XSS Attacks

Having identified an XSS vulnerability and formulated a suitable payload to

exploit it, an attacker needs to find some means of delivering the attack to

other users of the application. We have already discussed several ways in

which this can be done. In fact, there are many other delivery mechanisms

available to an attacker.



Delivering Reflected and DOM-Based XSS Attacks

In addition to the obvious phishing vector of bulk emailing a crafted URL to

random users, an attacker may attempt to deliver a reflected or DOM-based

XSS attack via the following mechanisms:

■■

In a targeted attack, a forged email may be sent to a single target user,



or a small number of users. For example, an application administrator

could be sent an email apparently originating from a known user, com-

plaining that a specific URL is causing an error. When an attacker wants

to compromise the session of a specific user (rather than harvest those

of random users) a well-informed and convincing targeted attack is

often the most effective delivery mechanism.

■■

A URL can be fed to a target user in an instant message.



■■

Content and code on third-party web sites can be used to generate

requests that trigger XSS flaws. For example, 

wahh-innocuous.com

might contain interesting content as an inducement for users to visit,

but it may also contain scripts that cause the user’s browser to make

requests containing XSS payloads to a vulnerable application. If a user

is logged in to the vulnerable application, and happens to browse 

wahh-

innocuous.com



, then the user’s session with the vulnerable application

will be compromised.

Having created a suitable web site, an attacker may use search engine

manipulation techniques to generate visits from suitable users — for




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   680   681   682   683   684   685   686   687   ...   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