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


Closely inspect all persistent cookies that are set. Look for any saved



Download 5,76 Mb.
Pdf ko'rish
bet262/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   258   259   260   261   262   263   264   265   ...   875
Bog'liq
3794 1008 4334

Closely inspect all persistent cookies that are set. Look for any saved

data that identifies the user explicitly or appears to contain some pre-

dictable identifier of the user.



Even where data stored appears to be heavily encoded or obfuscated,



review this closely and compare the results of “remembering” several

very similar usernames and/or passwords to identify any opportunities

for reverse engineering the original data. Here, use the same techniques

that are described in Chapter 7 for detecting meaning and patterns in

session tokens.



Attempt to modify the contents of the persistent cookie to try and con-



vince the application that another user has saved his details on your

computer.

User Impersonation Functionality

Some applications implement the facility for a privileged user of the applica-

tion to impersonate other users, in order to access data and carry out actions

within their user context. For example, some banking applications allow

helpdesk operators to verbally authenticate a telephone user and then switch

their application session into that user’s context in order to assist them.

Various design flaws commonly exist within impersonation functionality:

■■

It may be implemented as a “hidden” function, which is not subject to



proper access controls. For example, anyone who knows or guesses the

URL 


/admin/ImpersonateUser.jsp

may be able to make use of the

function and impersonate any other user (see Chapter 8). 

■■

The application may trust user-controllable data when determining



whether the user is performing impersonation. For example, in addition

to a valid session token, a user may also submit a cookie specifying




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   258   259   260   261   262   263   264   265   ...   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