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


If an application receives data via some out-of-band channel and



Download 5,76 Mb.
Pdf ko'rish
bet722/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   718   719   720   721   722   723   724   725   ...   875
Bog'liq
3794 1008 4334

If an application receives data via some out-of-band channel and

renders this within its web interface, then any stored XSS bugs can be

exploited without submitting any malicious payload using HTTP.

■■

Attacks against DOM-based XSS may not involve submitting any



malicious payload to the server. If the fragment technique is used, the

payload remains on the client at all times.

Some applications employ a more sophisticated client-side script that per-

forms stricter parsing of the query string — for example, it may search the

URL for the parameter name followed by the 

=

sign, but then extract what fol-



lows only until it reaches a relevant delimiter such as 

&

or 



#

. In this case, the

two attacks described previously could be modified as follows:

https://wahh-app.com/error.php?foomessage=&message=Sorry%2c+an+error+occurred

https://wahh-app.com/error.php#message=

In both cases, the first match for 

message=

is followed immediately by the

attack string, without any intervening delimiter, and so the payload is

processed and copied into the HTML page source.

In some cases, you may find that very complex processing is performed on

DOM-based data, and it is difficult to trace all of the different paths taken by

user-controllable data, and all of the manipulation being performed, solely

through static review of the JavaScript source code. In this situation, it can be

very beneficial to use a JavaScript debugger to monitor the script’s execution

dynamically. The FireBug extension to the Firefox browser is a full-fledged

debugger for client-side code and content, which enables you to set break-

points and watches on interesting code and data, making the task of under-

standing a complex script considerably easier.


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   718   719   720   721   722   723   724   725   ...   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