nuke/lib
Xe Iaso 6e4e471792
fix(lib): ensure issued challenges don't get double-spent (#1003)
* fix(lib): ensure issued challenges don't get double-spent

Closes #1002

TL;DR: challenge IDs were not validated at time of token issuance. A
dedicated attacker could solve a challenge once and reuse it across
multiple sessons in order to mint additional tokens.

With the advent of store based challenge issuance in #749, this means
that these challenge IDs are only good for 30 minutes. Websites using
the most recent version of Anubis have limited exposure to this problem.

Websites using older versions of Anubis have a much more increased
exposure to this problem and are encouraged to keep this software
updated as often and as frequently as possible.

* docs: update CHANGELOG

Signed-off-by: Xe Iaso <me@xeiaso.net>

---------

Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-08-20 12:33:32 -04:00
..
challenge fix(lib): ensure issued challenges don't get double-spent (#1003) 2025-08-20 12:33:32 -04:00
localization feat(web): Add option for customizable explanation text (#747) 2025-08-14 11:12:55 -04:00
policy fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
store fix broken bbolt database cleanup process (#848) (#848) 2025-07-18 13:51:32 -04:00
testdata fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
thoth chore: expose thoth in lib (#911) 2025-07-25 10:58:30 -04:00
anubis.go fix(lib): ensure issued challenges don't get double-spent (#1003) 2025-08-20 12:33:32 -04:00
anubis_test.go fix(web): embed challenge ID in pass-challenge invocations (#944) 2025-08-04 18:49:19 +00:00
config.go feat(lib): Add optional restrictions for JWT based on a specific header value (#697) 2025-08-13 23:27:42 +00:00
config_test.go chore: expose thoth in lib (#911) 2025-07-25 10:58:30 -04:00
http.go feat: support HTTP redirect for forward authentication middleware in Traefik (#368) 2025-08-12 20:59:45 -04:00
http_test.go feat: support HTTP redirect for forward authentication middleware in Traefik (#368) 2025-08-12 20:59:45 -04:00