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



Download 5,76 Mb.
Pdf ko'rish
bet749/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   745   746   747   748   749   750   751   752   ...   875
Bog'liq
3794 1008 4334

Input validation — 

The application should perform context-dependent

validation of the data being inserted, in as strict a manner as possible.

For example, if a cookie value is being set based on user input, it may

be appropriate to restrict this to alphabetical characters only, and a max-

imum length of six bytes.

■■

Output validation — 

Every piece of data being inserted into headers

should be filtered to detect potentially malicious characters. In practice,

any character with an ASCII code below 0x20 should be regarded as

suspicious, and the request should be rejected.

Applications can prevent any remaining header injection vulnerabilities

from being used to poison proxy server caches by using HTTPS for all appli-

cation content.



Frame Injection

Frame injection is a relatively simple vulnerability that arises from the fact that

in many browsers, if a web site creates a named frame, then any window

opened by the same browser process is permitted to write the contents of that

frame, even if its own content was issued by a different web site.


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   745   746   747   748   749   750   751   752   ...   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