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



Download 5,76 Mb.
Pdf ko'rish
bet342/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   338   339   340   341   342   343   344   345   ...   875
Bog'liq
3794 1008 4334

192

Chapter 7 



Attacking Session Management

70779c07.qxd:WileyRed  9/14/07  3:13 PM  Page 192



session. Many web mail applications behave in this way. In this situa-

tion, an eavesdropper cannot intercept the user’s credentials but may

still capture the session token, as shown in Figure 7-2.

Figure 7-2:  Capturing a session token transmitted over HTTP

■■

Some applications use HTTP for preauthenticated areas of the site, 



such as the site’s front page, but switch to HTTPS from the login page

onwards. However, in many cases the user is issued a session token at

the first page visited, and this token is not modified when the user logs

in. The user’s session, which is originally unauthenticated, is upgraded

to an authenticated session after login. In this situation an eavesdropper

can intercept a user’s token before login, wait for the user’s communi-

cations to switch to HTTPS, indicating that the user is logging in, and

then attempt to access a protected page (such as My Account) using

that token. 

■■

Even if the application issues a fresh token following successful login,



and uses HTTPS from the login page onwards, the token for the user’s

authenticated session may still be disclosed if the user revisits a preau-

thentication page (such as Help or About), either by following links


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   338   339   340   341   342   343   344   345   ...   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