Field slide attacks and how to avoid them.
Andrew Brown
atatat at atatdot.net
Tue Sep 11 13:19:15 EDT 2001
>The problem is that an ambiguous message is signed, making this attack
>possible:
>
> (username, expiration) -> MAC signature
> --------------------- --------------------------
> (Alice, 21-Apr-2001 -> MAC (Alice21-Apr-2001, key)
> (Alice2, 1-Apr-2001 -> MAC (Alice21-Apr-2001, key)
>
>An adversary need only create an Alice2 account with an appropriate
>expiration time to forge an authenticator for the real Alice. In the
>real world, sites and systems like WSJ.com and ArsDigita ACS suffer
>from variants of this marshalling problem [1]. Just sign what you
>mean -- using a delimiter or variable name outside the message space
>is usually sufficient.
so change that to
(username, expiration) -> MAC signature
--------------------- --------------------------
(Alice, 21-Apr-2001 -> MAC (MAC(Alice), MAC(21-Apr-2001), key)
(Alice2, 1-Apr-2001 -> MAC (MAC(Alice2), MAC(1-Apr-2001), key)
maybe?
--
|-----< "CODE WARRIOR" >-----|
codewarrior at daemon.org * "ah! i see you have the internet
twofsonet at graffiti.com (Andrew Brown) that goes *ping*!"
andrew at crossbar.com * "information is power -- share the wealth."
---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at wasabisystems.com
More information about the cryptography
mailing list