Hi all,
I've a script that generates preauth URL for my users to login into different webmail. For example, here is the URL for toto@domain.com:
The issue is that if your replace "toto" with "tutu", you will be able to login into tutu@domain.com's account:Code:https://zimbra.webmail.com/service/preauth?account=toto%40domain.com&by=name×tamp=1184319241000&expires=0&preauth=31791cdfb374449e0b28ec3dc08650f5efd7f
You can even change the preauth value, and you still are able to login into the account:Code:https://zimbra.webmail.com/service/preauth?account=tutu%40domain.com&by=name×tamp=1184319241000&expires=0&preauth=31791cdfb374449e0b28ec3dc08650f5efd7f
It seems that the server side script (/service/preauth) does not calculate correctly the hmac-sha1 or does not take care of it.Code:https://zimbra.webmail.com/service/preauth?account=tutu%40domain.com&by=name×tamp=1184319241000&expires=0&preauth=31791cdffd7f
Am I doing something wrong ?
Regards


LinkBack URL
About LinkBacks

