GHSA-9phw-7h96-q3rv json
scheb/two-factor-bundle bypass two-factor authentication with remember-me option
published 2y ago modified last yr.
- cvss
- 7.4
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
In versions prior to 3.26.0 and prior to 4.11.0 of the "scheb/two-factor-bundle" project, a security vulnerability allowed attackers to bypass two-factor authentication (2FA) using the remember_me cookie. When the remember_me checkbox was used during login, a "REMEMBERME" cookie was created. Upon redirection to the 2FA page, attackers could manipulate the SESSIONID key, granting access to the homepage "/" and gaining authentication without completing 2FA.
Patch / fix
- packagist scheb/two-factor-bundle 3.26.0, 4.11.0
Is GHSA-9phw-7h96-q3rv in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | scheb/two-factor-bundle | >=4.0.0, <4.11.0 <3.26.0 |
4.11.0 3.26.0 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/scheb/two-factor-bundle/commit/3fbca9e821985559b444207a7c2d73b9b569b58b
web
-
github.com
/scheb/two-factor-bundle/commit/a149808d25c1553757c529b9568913ea1cec0894
web
-
github.com
/scheb/two-factor-bundle/issues/253
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2019-12-19.yaml
web
-
github.com
/scheb/two-factor-bundle
package
Sources
- GitHub Advisory GHSA-9phw-7h96-q3rv
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.