scheb/two-factor-bundle · Security
scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token
- GHSA ID
- GHSA-h6mp-mc7g-mg49
- Severity
- high
- Published
- Updated
- CVSS
- 7.4 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CVSS v3
- 7.4 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Description
Before version 3.7 the bundle is vulnerable to a security issue in JWT, which can be exploited by an attacker to generate trusted device cookies on their own, effectively by-passing two-factor authentication.
CWEs
- CWE-287 · Improper Authentication
References
- 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/advisories/GHSA-h6mp-mc7g-mg49 ↗