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



Download 5,76 Mb.
Pdf ko'rish
bet294/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   290   291   292   293   294   295   296   297   ...   875
Bog'liq
3794 1008 4334

Validate Credentials Properly

■■

Passwords should be validated in full — that is, in a case-sensitive way,



without filtering or modifying any characters, and without truncating

the password. 

■■

The application should be aggressive in defending itself against unex-



pected events occurring during login processing. For example, depend-

ing on the development language in use, the application should use

catch-all exception handlers around all API calls. These should explic-

itly delete all session and method-local data being used to control the

state of the login processing and should explicitly invalidate the current

session, thereby causing a forced logout by the server even if authenti-

cation is somehow bypassed.

■■

All authentication logic should be closely code-reviewed, both as



pseudo-code and as actual application source code, to identify logic

errors such as fail-open conditions.

■■

If functionality to support user impersonation is implemented, this



should be strictly controlled to ensure that it cannot be misused to 

gain unauthorized access. Because of the criticality of the functionality,

it is often worthwhile to remove this functionality entirely from the


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   290   291   292   293   294   295   296   297   ...   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