{"id":"GHSA-h6mp-mc7g-mg49","aliases":["GHSA-h6mp-mc7g-mg49"],"related":[],"kind":"vulnerability","state":"published","title":"scheb/two-factor-bundle bypass two-factor authentication with unverified JWT trusted device token","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-21T18:16:24.000Z","modified":"2024-12-06T05:39:49.642Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.7.0"}],"ecosystem":"Packagist","package":"scheb/two-factor-bundle","purl":"pkg:composer/scheb/two-factor-bundle","source":"ghsa"}],"references":[{"url":"https://github.com/scheb/two-factor-bundle/issues/143","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/scheb/two-factor-bundle/commit/8890c1e47ae89e0ac6f8a40fd4bb4b91c2081aa7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2018-07-08.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/scheb/two-factor-bundle","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h6mp-mc7g-mg49","url":"https://github.com/advisories/GHSA-h6mp-mc7g-mg49","licence":"CC-BY-4.0","modified":"2024-12-06T05:39:49.642Z"}],"updatedAt":"2026-11-25T22:56:32.265Z"}