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



Download 5,76 Mb.
Pdf ko'rish
bet60/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   56   57   58   59   60   61   62   63   ...   875
Bog'liq
3794 1008 4334

22

Chapter 2 



Core Defense Mechanisms

70779c02.qxd:WileyRed  9/14/07  3:12 PM  Page 22



such as passing user input to an operating system command interpreter, are

avoided altogether.

This approach cannot be applied to every kind of task that web applications

need to perform, but where it is available it is an effective general approach to

handling potentially malicious input.

Semantic Checks

The defenses described so far all address the need to defend the application

against various kinds of malformed data whose content has been crafted to

interfere with the application’s processing. However, with some vulnerabili-

ties the input supplied by the attacker is identical to the input that an ordinary,

non-malicious user may submit. What makes it malicious is the different cir-

cumstances in which it is submitted. For example, an attacker might seek to

gain access to another user’s bank account by changing an account number

transmitted in a hidden form field. No amount of syntactic validation will dis-

tinguish between the user’s data and the attacker’s. To prevent unauthorized

access, the application needs to validate that the account number submitted

belongs to the user who has submitted it.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   56   57   58   59   60   61   62   63   ...   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