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


If the user data being processed in a redirect contains an absolute URL



Download 5,76 Mb.
Pdf ko'rish
bet736/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   732   733   734   735   736   737   738   739   ...   875
Bog'liq
3794 1008 4334

If the user data being processed in a redirect contains an absolute URL,

modify the domain name within the URL, and test whether the applica-

tion redirects you to the different domain.



If the user data being processed contains a relative URL, modify this into



an absolute URL for a different domain, and test whether the application

redirects you to this domain.



In both cases, if you see behavior like the following, then the application



is certainly vulnerable to an arbitrary redirection attack:

GET /redir.php?target=http://wahh-attacker.com/ HTTP/1.1

Host: wahh-app.com

HTTP/1.1 302 Object moved

Location: http://wahh-attacker.com/

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




Circumventing Obstacles to Attack

It is very common to encounter situations in which user-controllable data is

being used to form the target of a redirect, but is being filtered or sanitized in

some way by the application, usually in an attempt to block redirection

attacks. In this situation, the application may or may not be vulnerable, and

your next task should be to probe the defenses in place to determine whether

they can be circumvented to perform arbitrary redirection. The two general

types of defense you may encounter are attempts to block absolute URLs, and

the addition of a specific absolute URL prefix.


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   732   733   734   735   736   737   738   739   ...   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