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


processed by the application. A common XSS vulnerability arises in error



Download 5,76 Mb.
Pdf ko'rish
bet690/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   686   687   688   689   690   691   692   693   ...   875
Bog'liq
3794 1008 4334

processed by the application. A common XSS vulnerability arises in error

messages, where items such as the 

Referer


and 

User-Agent



headers

are copied into the contents of the message. These headers are valid

vehicles for delivering a reflected XSS attack, because an attacker can use

a Flash object to induce a victim to issue a request containing arbitrary

HTTP headers.

Each potential vulnerability you have noted needs to be manually investi-

gated to verify whether it is actually exploitable. Your objective here is to find

a way of crafting your input such that, when it is copied into the same location

in the application’s response, it will result in execution of arbitrary JavaScript.

Let’s look at some examples of this.



Example 1

Suppose that the returned page contains the following:



One obvious way to craft an XSS exploit is to terminate the double quotation

marks that are enclosing your string, close the 

tag, and then employ




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   686   687   688   689   690   691   692   693   ...   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