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


Chapter 12  ■ Attacking Other Users



Download 5,76 Mb.
Pdf ko'rish
bet662/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   658   659   660   661   662   663   664   665   ...   875
Bog'liq
3794 1008 4334

Chapter 12 



Attacking Other Users



385

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




The following shows the raw response of an application that is vulnerable to

stored XSS in this way. Note that even though the 

Content-Type

header speci-

fies that the message body contains an image, Internet Explorer overrides this

and handles the content as HTML because this is what it in fact contains.

HTTP/1.1 200 OK

Date: Sat, 5 May 2007 11:52:25 GMT

Server: Apache

Content-Length: 39

Content-Type: image/jpeg

This vulnerability exists in many web mail applications, where an attacker

can send emails containing a seductive-sounding image attachment that in

fact compromises the session of any user who views it. Many such applica-

tions sanitize HTML attachments specifically to block XSS attacks, but over-

look the way Internet Explorer handles JPEG files.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   658   659   660   661   662   663   664   665   ...   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