ID4me
The module does not properly tell external identities apart when the database ignores capital letters or accents. An ordinary account on the site could log in as another user. This could allow them to view hidden data or change information on the site.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youA site is affected if an attacker controls an accepted external identity that matches an existing account name when capital letters or accents are ignored.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate ID4me to 2.0.3.
For developers: what the fix changed
The fix updates `userLoadByIdentifier` in `src/AuthmapService.php` to strictly compare the issuer and subject byte for byte against the database records. This prevents case or accent insensitive matches from authenticating the wrong user.
Also in this release The release also added Drupal 10 testing to CI, updated Composer metadata, and added tests for account identity matching.
.gitlab-ci.yml+3 −0composer.json+2 −1id4me.services.yml+1 −1 fixsrc/AuthmapService.php+23 −7 fix