Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. scheb/two-factor-bundle
  4. ›
  5. GHSA-9phw-7h96-q3rv

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

May 21, 2024

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

  • github.com/FriendsOfPHP/security-advisories/blob/master/scheb/two-factor-bundle/2019-12-19.yaml
  • github.com/advisories/GHSA-9phw-7h96-q3rv
  • github.com/scheb/two-factor-bundle
  • github.com/scheb/two-factor-bundle/commit/3fbca9e821985559b444207a7c2d73b9b569b58b
  • github.com/scheb/two-factor-bundle/commit/a149808d25c1553757c529b9568913ea1cec0894
  • github.com/scheb/two-factor-bundle/issues/253

Code Behaviors & Features

Detect and mitigate GHSA-9phw-7h96-q3rv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.26.0, all versions starting from 4.0.0 before 4.11.0

Fixed versions

  • 4.11.0
  • 3.26.0

Solution

Upgrade to versions 3.26.0, 4.11.0 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

packagist/scheb/two-factor-bundle/GHSA-9phw-7h96-q3rv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:29 +0000.