(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 2, 2010
Cryptanalysis on Two Multi-Server Password BasedAuthentication Protocols
Jue-Sam Chou
*
Dept. of Information ManagementNanhua University, Taiwan jschou@mail.nhu.edu.tw
Chun-Hui Huang
Dept. of Information ManagementNanhua University, Taiwang6451519@mail.nhu.edu.tw
Yalin Chen
Institute of Information Systems andApplications, NTHU, Tawaind949702@oz.nthu.edu.tw
*
: corresponding author
Abstract
¡In 2004 and 2005, Tsaur et al. proposed two smartcard based password authentication protocols for multi-serverenvironments. They claimed that their protocols are safe and canwithstand various kinds of attacks. However, after analyses, wefound both of them have some security loopholes. In this article,we will demonstrate the security loopholes of the two protocols.
Keywords- multi-server; remote password authenticationl; smart card; key agreement; Lagrange interpolating polynomial
I.
I
NTRODUCTION
In a traditional identity authentication mechanism, a usermust use his identity ID and password PW to register at theremote server and the server needs to employ a verificationtable to record the ID and PW. However, this approach mightmake the system suffer from the stolen verifier attack. Toaddress this problem, some researchers suggested theauthentication system adopt a non-verification-table approach.In 1990, Hwang et al. [4] first proposed a smart card basedauthentication protocol by using such a non-verification-tableway. Thereafter, many smart-card non-verification-table basedauthentication schemes [1, 2, 3, 5, 6, 7, 10-20] were proposed.In 2004 and 2005, Tsaur et al. proposed two suchauthentication schemes [8, 9] for multi-server environments.They claimed that their schemes are secure and can withstandvarious attacks. However, after analyses, we found that both of them have some security loopholes. In this article, we willdemonstrate the security flaws found in their protocols.II.
R
EVIEW AND ATTACK ON
T
SAUR ET AL
.¡
S FIRSTPROTOCOL
A.
Review
Tsaur et al.¡s first protocol [8] consists of next four stages.
a) The System Setup Stage:
CA defines an one-way hashfunction
h
(
X, Y
); he selects two large prime numbers
p
1
,
p
2
, andcomputes
N
=
p
1
¡
p
2
; he randomly chooses the encryption key
e
satisfying gcd(
e
,
φ
(
N
)) = 1, where
φ
(
N
) = (
p
1
¡ 1) ¡ (
p
2
¡ 1),and computes his corresponding private key as
d
=
e
-1
mod
φ
(
N
). For each server
S
j
, CA selects a random
S_SK
j
as theserver¡s private key and computes
S_ID
j
=
j
SK S
g
_
(mod
N
) ashis oublic identity, where
j
= 1,2, ...,
m
.
b) The User Registration Stage:
When a new user
U
i
wantsto register at
m
servers,
S
1
,
S
2
, ¡, and
S
m
(in a multi-serversystem), he and CA together perform the registration processthrough a secure channel described as follows:
U
i
chooses his identity
U_ID
i
and password
U_PW
i
,
and transmits them to CA.
CA randomly chooses a number
r
ui
, and computes twosecret keys as
)(mod_
_
N g RU
uii
r PW U i
and
)(mod_S
N gU
d r i
ui
.
CA assumes that
U
i
wants to obtain the services of
r
servers,
S
1
,
S
2
, ¡,
S
r
, for 1
≤
r
<
m
. The service periodsprovided by these servers are
E_T
i
1
,
E_T
i
2
, ¡, and
E_T
ir
respectively. The periods of the other
m
¡
r
serversare all set to zeros. CA then constructs a Lagrangeinterpolating polynomial function
f
i
(
X
)
for
U
i
as
)__(
)_()__()(
1
i jiijm jii
IDU SK S
IDU X T E IDU X f
m jk k k jk
SK SSK S
SK S X
,1
)__(
)_(
m y yi yi
SK S IDU
SK S X RU
1
)__(
)_(_
)(mod
0111
N a X a X a X a
mmmm
CA stores
f
i
(
X
),
U
i
¡s identity
U_ID
i
, his two secret keys
U_S
i
,
U_R
i
, and one-way function
h
(
X
,
Y
) in smart card
U_SC
i
. Then, CA sends the card to
U
i
via a securechannel.
c) The Login Stage:
In this phase, when a registered user
U
i
wants to login server
S
j
(1
≤
j
≤
m
), he inserts his smart card
U_SC
i
to the reader and keys in his
U_PW
i
. Then,
U_SC
i
performs the following steps on behalf of
U
i
:
U_SC
i
gets timestamp
t
. Then, it generates a secretrandom number
r
1
and computes
16http://sites.google.com/site/ijcsis/ISSN 1947-5500