Skip to content
OpenAdvisories
High · 7.4 GHSA-h6mp-mc7g-mg49

scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token

Published May 21, 2024 · Updated Dec 6, 2024 · Assigned by GHSA

Description

Before version 3.7 the bundle is vulnerable to a [security issue in JWT](https://auth0.com/blog/critical-vulnerabilities-in-json-web-token-libraries/), which can be exploited by an attacker to generate trusted device cookies on their own, effectively by-passing two-factor authentication.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist scheb/two-factor-bundle >= 3.0.0, < 3.7.0 3.7.0 GHSA-h6mp-mc7g-mg49

References