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


Initialize Injection test is successful



Download 5,76 Mb.
Pdf ko'rish
bet498/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   494   495   496   497   498   499   500   501   ...   875
Bog'liq
3794 1008 4334

Initialize Injection test is successful.

When you are satisfied that Absinthe has been correctly configured to

exploit the vulnerability, you can launch the attack. To do this, go to the DB

Schema tab and select one or more of the available actions: Retrieve Username,

Load Table Info, and Load Field Info.

Absinthe works by replacing the test 

1=1

condition with a huge number of



other conditions designed to discover the contents of the database and retrieve

arbitrary data from it.

For example, if you are targeting the Oracle platform, Absinthe may dis-

cover the first character of the current database user’s username by injecting

values like the following:

admin’ AND (SELECT ASCII(SUBSTR(a.username,1,1)) FROM USER_USERS a WHERE

A.USERNAME = user) = 65

This condition will be true if the first character of the username is A.

Absinthe will detect that it is true because the application’s response is identi-

cal to the original 

1=1

response. By automating a large number of queries,



Absinthe will retrieve the entire string.

In fact, rather than iterating through every possible character to find a hit,

Absinthe uses a more sophisticated binary chop technique, which dramatically

reduces the number of requests needed. This involves first testing whether the

queried character is higher than X, which is the middle value in the range of

allowed values. If so, the test is repeated for 1.5X; if not, it is repeated for 0.5X.

For example:

admin’ AND (SELECT ASCII(SUBSTR(a.username,1,1)) FROM USER_USERS a WHERE

A.USERNAME = user) > 19443--

admin’ AND (SELECT ASCII(SUBSTR(a.username,1,1)) FROM USER_USERS a WHERE

A.USERNAME = user) > 9722--

etc...


In general, this method enables the value of the targeted character to be dis-

covered in the smallest possible number of attempts.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   494   495   496   497   498   499   500   501   ...   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