Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
0802徳丸.pdf
Search
tanakata
August 02, 2017
0
44
0802徳丸.pdf
tanakata
August 02, 2017
Tweet
Share
More Decks by tanakata
See All by tanakata
20171201
tanakata
0
28
20171110
tanakata
0
40
1013
tanakata
0
46
徳丸0922
tanakata
0
58
0901
tanakata
0
36
2017/08/25
tanakata
0
41
徳丸20170721.pdf
tanakata
0
33
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
510
Faster Mobile Websites
deanohume
305
30k
Building Adaptive Systems
keathley
39
2.4k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
GitHub's CSS Performance
jonrohan
1030
460k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
A Tale of Four Properties
chriscoyier
157
23k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Transcript
2017/08/02 ಙؙຊྠಡձ ηογϣϯϋΠδϟοΫ
͜Ε·ͰͷྲྀΕ ΫϩεαΠτεΫϦϓςΟϯά(ాɾߥʣ SQLΠϯδΣΫγϣϯʢখʣ CSRFʢຢʣ
͜Ε·ͰͷྲྀΕ ΫϩεαΠτεΫϦϓςΟϯά(ాɾߥʣ SQLΠϯδΣΫγϣϯʢখʣ CSRFʢຢʣ NEW!→ηογϣϯϋΠδϟοΫʢాʣ
ηογϣϯͷ͓͞Β͍
ηογϣϯͱ ϩάΠϯ͔ͯ͠ΒϩάΞτ͢Δ·ͰͷΑ͏ͳҰ࿈ͷखଓ͖ͷ͜ͱɻ ηογϣϯཧΛߦ͏͜ͱͰɺ௨ৗεςʔτϨεͳHTTPʹ͓͍ͯɺϩάΠϯ ใΦϯϥΠϯγϣοϐϯάγεςϜͷΧʔτͳͲͷใΛอଘͯ͠ɺඞཁ ͳ࣌ʹऔΓग़͢͜ͱ͕Ͱ͖Δɻ
ηογϣϯϋΠδϟοΫͱ ౪ɾਪଌͳͲͷํ๏ͰηογϣϯIDΛಛఆ͠ ΞΧϯτΛͬऔΔ߈ܸ
ηογϣϯϋΠδϟοΫͷྨ ֮͑Α͏ ਪଌɹ౪ɹڧ੍
ηογϣϯϋΠδϟοΫͷྨ ֮͑Α͏ ਪଌɹ౪ɹڧ੍
ਪଌՄೳͳηογϣϯID ʢཁ͢ΔʹɺצͰͯΕͦ͏ͳจࣈྻʣ
ਪଌՄೳͳηογϣϯID ਪଌՄೳͳηογϣϯʹର͢Δ߈ܸख๏ 1.ରΞϓϦέʔγϣϯ͔ΒηογϣϯID ΛूΊΔ 2.ηογϣϯIDͷنଇੑͷԾઆΛཱͯΔ 3.ਪଌͨ͠ηογϣϯIDͰରΞϓϦέʔγϣϯΛ߈ܸ ରࡦˠWEBΞϓϦέʔγϣϯ։ൃπʔϧͷηογϣϯػߏΛ͏
ηογϣϯϋΠδϟοΫͷྨ ֮͑Α͏ ਪଌɹ౪ɹڧ੍
౪ՄೳͳηογϣϯID URLʹηογϣϯIDؚ͕·Ε͍ͯΔ߹ ηογϣϯ ID ͕ URL ʹؚ·Ε ͍ͯΔͱɺͲͷϖʔδ͔Β ભҠ͖͔ͯͨ͠ϒϥβ͕ ૹ৴ͯ͘͠Δ
REFERER ʹΑͬ ͯηογϣϯ ID ͕࿙Ӯ͢Δ ͜ͱ͕͋Γ·͢ɻηογϣ ϯ ID COOKIE ʹ֨ೲ͠ɺ COOKIE ʹ֨ೲͰ͖ͳ͍߹ʹ URL ʹηογϣϯ ID ؚ͕· Εͳ͍Α͏ʹઃఆ͓͖ͯ͠ ·͢ɻ
ηογϣϯϋΠδϟοΫͷྨ ֮͑Α͏ ਪଌɹ౪ɹڧ੍
ηογϣϯIDͷݻఆԽ ηογϣϯIDͷݻఆԽ߈ܸɺਖ਼نͷαΠτ͔ΒѱҙΛ࣋ͬͨϢʔβ͕ηογϣϯID Λऔಘ͠ɺͦͷηογϣϯIDΛଞͷϢʔβʹڧ੍͢Δɻ ڧ੍͞ΕͨηογϣϯIDͰϢʔβ͕ϩάΠϯΛߦͬͨ߹ɺͦͷηογϣϯIDΛݩʑ ͍ͬͯΔѱҙΛ࣋ͬͨϢʔβϩάΠϯͨ͠ϢʔβʹΓΘͬͯૢ࡞Λߦ͏͜ͱ ͕Ͱ͖Δɻ
ηογϣϯIDͷݻఆԽ ରࡦˠϩάΠϯޙʹηογϣϯΛ৽نʹ࡞ΔʢηογϣϯIDͷ࠶ൃߦʣ ରࡦ̎ˠϩάΠϯޙʹηογϣϯIDͱผʹೝՄ͞Εͨ͜ͱΛূ໌͢ΔใΛՃ͢Δɻ
·ͱΊ
·ͱΊ ɾηογϣϯཧػߏΛࣗ࡞͠ͳ͍ʢਪଌରࡦʣ →WEBΞϓϦέʔγϣϯ։ൃπʔϧΛ͏ ɾURLʹηογϣϯIDΛຒΊࠐ·ͳ͍ʢ౪ରࡦʣ →ΫοΩʔͰηογϣϯIDΛཧ͢Δ ɾೝূޭ࣌ʹηογϣϯIDΛมߋ͢Δ(ڧ੍ରࡦʣ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠