Fixes a security hole that did allow a third party website to reuse a valid
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 11 Oct 2008 18:58:47 +0000 (20:58 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Sat, 11 Oct 2008 19:03:19 +0000 (21:03 +0200)
commite10bc2efb2f84bb7f503d9abb458d730535e5286
tree6350cce968474eda0fa299eb01b04df840872bdd
parent2b1b17af7b1e695ac77cf99f86396c07d47b224f
Fixes a security hole that did allow a third party website to reuse a valid
(challenge, response) pair. This pair, obtainable externally from an approved
groupex website, enabled it to discover personal information from Xs with a
permanent/valid cookie on Xorg.

The fix forces return url to match a defined regexp; backward compatibility is
retained, though the hole won't be fixed until all entries in groupex_auth are
added a non-empty return url regexp.

Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
modules/auth.php
upgrade/0.9.17/07_auth_groupex.sql [new file with mode: 0644]