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


Attack 1: Enumerating Identifiers



Download 5,76 Mb.
Pdf ko'rish
bet833/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   829   830   831   832   833   834   835   836   ...   875
Bog'liq
3794 1008 4334

Attack 1: Enumerating Identifiers

Suppose that you are targeting an application that supports self-registration

for anonymous users. You create an account and log in, and gain access to a

minimum of functionality. At this stage, one area of obvious interest is the

application’s session tokens. Logging in several times in close succession gen-

erates the following sequence:

000000-fb2200-16cb12-172ba72551 

000000-bc7192-16cb12-172ba7279e 

000000-73091f-16cb12-172ba729e8 

000000-918cb1-16cb12-172ba72a2a 

000000-aa820f-16cb12-172ba72b58 

000000-bc8710-16cb12-172ba72e2b 

You follow the steps described in Chapter 7 to analyze these tokens. It is evi-

dent that approximately half of the token is not changing, but you also dis-

cover that the second portion of the token is not actually processed by the

application either. Modifying this portion entirely does not invalidate your

tokens. Furthermore, although it is not trivially sequential, the final portion

clearly appears to be incrementing in some fashion. This looks like a very

promising opportunity for a session hijacking attack.

To leverage automation to deliver this attack, you need to find a single

request/response pair that can be used to detect valid tokens. Typically, any

request for an authenticated page of the application will serve this purpose.

You decide to target the main home page presented to each user following

login:


GET /home.jsp HTTP/1.1

Host: wahh-app.com

Cookie: SessionID=000000-fb2200-16cb12-172ba72551


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   829   830   831   832   833   834   835   836   ...   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