Page MenuHomePhabricator

File reference keys leads to incorrect hashes on HMAC algorithms
Closed, ResolvedPublic

Details

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1222275 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/OAuth@master] Update league/oauth2-server and dependancies

https://gerrit.wikimedia.org/r/1222275

Users of HMAC-based algorithms (HS256, HS384, and HS512) combined with Lcobucci\JWT\Signer\Key\LocalFileReference as key are having their tokens issued/validated using the file path as hashing key - instead of the contents.

Just for the record, we weren't affected by this:

Change #1222275 merged by jenkins-bot:

[mediawiki/extensions/OAuth@master] Update league/oauth2-server and dependancies

https://gerrit.wikimedia.org/r/1222275