{"id":"GHSA-h6mp-mc7g-mg49","aliases":[],"status":"published","title":"scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token","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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2024-05-21T18:16:24Z","modified":"2024-12-06T05:39:49Z","fixes":[{"ecosystem":"Packagist","package":"scheb/two-factor-bundle","fixed_in":["3.7.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"scheb/two-factor-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.7.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"scheb/two-factor-bundle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.7.0"}]}],"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"]}],"references":[{"url":"https://github.com/scheb/two-factor-bundle/issues/143","tags":["web"]},{"url":"https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h6mp-mc7g-mg49"},{"url":"https://github.com/scheb/two-factor-bundle","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-h6mp-mc7g-mg49","title":"scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token","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.","status":"published","published":"2024-05-21T18:16:24Z","modified":"2024-05-21T18:16:24Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:37:51.549437Z"}],"osv":[{"id":"GHSA-h6mp-mc7g-mg49","title":"scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token","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.","status":"published","published":"2024-05-21T18:16:24Z","modified":"2024-12-06T05:39:49.642018Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:48.546324Z"}]}}
