Skip to content

Protect preventing authentication flows for .org two-factor #46570

@georgestephanis

Description

@georgestephanis

Impacted plugin

Protect

Quick summary

Protect seems to be blocking some reauth flows for the WordPress.org Two Factor extension:

WordPress/wporg-two-factor#332

I've already done some minor debugging work on it, trying to trace the messages. There's more context in .org slack here:

https://wordpress.slack.com/archives/C02RP4Y3K/p1767886583819919

My /suspicion/ is that it's due to a flow with custom login page actions -- Protect manually handles them by return;-ing when it's a logout request but there's no matching filter to enable other plugins from short circuiting the kill -- I'm not positive if it'd resolve the issue, but it feels like a filter there would be worthwhile to let other plugins override it if it's an edge case.

Steps to reproduce

Image

Reauth in two-factor flow triggered failure.

Site owner impact

Fewer than 20% of the total website/platform users

Severity

Major

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

Issue seemed to clear itself when the user's IP likely fell off the bruteprotect ip rolls, but if this is the instance we've heard about, there's probably more.

Platform (Simple and/or Atomic)

Self-hosted

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs triageTicket needs to be triaged[Plugin] ProtectA plugin with features to protect a site: brute force protection, security scanning, and a WAF.[Pri] Normal[Status] Auto-allocated[Type] BugWhen a feature is broken and / or not performing as intended

    Type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions