Advisory

GHSA-9phw-7h96-q3rv

Also known as: None

Summary

scheb/two-factor-bundle bypass two-factor authentication with remember-me option

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-21 18:22 UTC
Modified
2024-12-06 05:35 UTC

Affected packages and fixes

scheb/two-factor-bundle

Packagist · All systems

Affected

  • introduced 4.0.0, fixed 4.11.0 (ecosystem)

Fixed versions

4.11.0

Fix

The export has no generic command for this ecosystem.

scheb/two-factor-bundle

Packagist · All systems

Affected

  • introduced 0, fixed 3.26.0 (ecosystem)

Fixed versions

3.26.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences