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



Download 5,76 Mb.
Pdf ko'rish
bet252/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   248   249   250   251   252   253   254   255   ...   875
Bog'liq
3794 1008 4334

142

Chapter 6 



Attacking Authentication

70779c06.qxd:WileyRed  9/14/07  3:13 PM  Page 142



via attacks that compromise user cookies, and in the case of persistent

cookies, by anyone who gains access to the client’s local file system.

Even if the credentials are encrypted, an attacker can still simply replay

the cookie and so log in as a user without actually knowing her creden-

tials. Chapter 12 describes various ways in which an attacker can target

other users to capture their cookies.

Many applications use HTTP for unauthenticated areas of the application

and switch to HTTPS at the point of login. If this is the case, then the correct

place to switch to HTTPS is when the login page is loaded in the browser,

enabling a user to verify that the page is authentic before entering credentials.

However, it is common to encounter applications that load the login page itself

using HTTP, and switch to HTTPS at the point where credentials are submit-

ted. This is unsafe, because a user cannot verify the authenticity of the login

page itself and so has no assurance that the credentials will be submitted

securely. A suitably positioned attacker can intercept and modify the login

page, changing the target URL of the login form to use HTTP. By the time an

astute user realizes that the credentials have been submitted using HTTP, they

will have been compromised.



HACK STEPS

■■


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   248   249   250   251   252   253   254   255   ...   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