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


these adjustments are made on a one-time basis or whether they are



Download 5,76 Mb.
Pdf ko'rish
bet629/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   625   626   627   628   629   630   631   632   ...   875
Bog'liq
3794 1008 4334

these adjustments are made on a one-time basis or whether they are

revised in response to further actions performed by the user.



Think imaginatively, and try to find a way of manipulating the applica-



tion’s behavior to cause it to get into a state where the adjustments it

has applied do not correspond to the original criteria intended by its

designers. In the most obvious case, as just described, this may simply

involve removing items from a shopping cart after a discount has been

applied!

Example 8: Escaping from Escaping

The authors encountered this logic flaw in various web applications, including

the web administration interface used by a network intrusion detection product. 

The Functionality

The application’s designers had decided to implement some functionality that

involved passing user-controllable input as an argument to an operating sys-

tem command. The application’s developers understood the inherent risks

involved in this kind of operation (see Chapter 9) and decided to defend

against these risks by sanitizing any potentially malicious characters within

the user input. Any instance of the following would be escaped using the back-

slash character:

;  |  &  <  > ` 

space and newline

Escaping data in this way causes the shell command interpreter to treat the

relevant characters as part of the argument being passed to the invoked com-

mand, rather than as shell metacharacters that could be used to inject addi-

tional commands or arguments, redirect output, and so on.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   625   626   627   628   629   630   631   632   ...   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