# GHSA-9phw-7h96-q3rv: scheb/two-factor-bundle bypass two-factor authentication with remember-me option

- Severity: High 7.4 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-21T18:22:04.000Z
- Modified: 2024-12-06T05:35:32.128Z
- Weaknesses: CWE-287

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- scheb/two-factor-bundle (Packagist): from 4.0.0 before 4.11.0; before 3.26.0

## References

- <https://github.com/scheb/two-factor-bundle/issues/253> (web)
- <https://github.com/scheb/two-factor-bundle/commit/3fbca9e821985559b444207a7c2d73b9b569b58b> (web)
- <https://github.com/scheb/two-factor-bundle/commit/a149808d25c1553757c529b9568913ea1cec0894> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2019-12-19.yaml> (web)
- <https://github.com/scheb/two-factor-bundle> (package)

## Sources

- GitHub Advisory Database: [GHSA-9phw-7h96-q3rv](https://github.com/advisories/GHSA-9phw-7h96-q3rv), CC-BY-4.0, modified 2024-12-06

---

Page: https://cve.day/GHSA-9phw-7h96-q3rv · Whole record: https://cve.day/GHSA-9phw-7h96-q3rv.json · Rebuilt by cve.day 2026-11-25T22:56:31.777Z
