GHSA-h6mp-mc7g-mg49
GHSA-h6mp-mc7g-mg49 · scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.4 · High · Fix available
- Published
- Updated
Stack: php
Affected products and versions
scheb/two-factor-bundle Packagist
- Versions
- v3.0.0
- v3.1.0
- v3.2.0
- v3.3.0
- v3.3.1
- v3.4.0
- v3.5.0
- v3.5.1
- v3.6.0
- v3.6.1
- v3.6.2
- v3.6.3
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.7.0
Update to 3.7.0
Original sources
- https://github.com/scheb/two-factor-bundle/issues/143
- https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7
- https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml
- https://github.com/scheb/two-factor-bundle
- https://osv.dev/vulnerability/GHSA-h6mp-mc7g-mg49