Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.4
Two-factor authentication bypass in scheb/two-factor-bundle
published 2 years ago
Summary
Versions of the scheb/two-factor-bundle before 3.26.0 and 4.11.0 allow attackers to bypass two-factor authentication by manipulating a cookie. This could allow unauthorized access to your website. Update the bundle to version 3.26.0 or later, or version 4.11.0 or later to fix this issue.
What to do
- Update scheb two-factor-bundle to version 4.11.0.
- Update scheb two-factor-bundle to version 3.26.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| composer | scheb | two-factor-bundle |
>= 4.0.0, < 4.11.0 < 3.26.0 Fix: upgrade to 4.11.0
|
Original advisory text
scheb/two-factor-bundle bypass two-factor authentication with remember-me option
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.
References
- https://github.com/scheb/two-factor-bundle/issues/253
- https://github.com/scheb/two-factor-bundle/commit/3fbca9e821985559b444207a7c2d73...
- https://github.com/scheb/two-factor-bundle/commit/a149808d25c1553757c529b9568913...
- https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor...
- https://github.com/advisories/GHSA-9phw-7h96-q3rv
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-287Improper Authentication
Timeline
Published21 May 2024
Updated6 Mar 2026
First seen6 Mar 2026
Sources
GHSA-9phw-7h96-q3rv · GHSA
Track software like this
Free during beta