AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
High 78 Bitcoin

Fix: TOTP 2FA bypass via Greenfield Basic auth (#7491)

Public commit record

What the developer wrote

Authored by Nicolas Dorier

75/100 · Adequate
Fix: TOTP 2FA bypass via Greenfield Basic auth (#7491)
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Links an issue, advisory, or supporting reference✓ Names security-relevant behavior explicitly! No meaningful explanatory body
The short version

What changed, and why it matters

BTCPay Server fixed a bug where accounts protected only by TOTP-based two-factor authentication (the six-digit code from an authenticator app) could log into the Greenfield API using just their email and password, skipping the second factor entirely. The code previously blocked basic login only for users with FIDO2/hardware-key second factors, not for users with app-code (TOTP) second factors. The vendor says this was reported by Ben Carman and shipped as an emergency fix in version 2.4.2.

Recommended action

Upgrade to BTCPay Server 2.4.2 or later. If upgrading is not immediately possible, consider disabling Basic authentication for Greenfield API or requiring API keys instead for TOTP-protected accounts, and review access logs for unexpected Greenfield API use by TOTP-enabled users.

Security signals we found

01

Authentication bypass of second factor (TOTP 2FA)

02

Incorrect authorization condition scoped only to FIDO2 credentials

03

API endpoint (Greenfield) affected by weak single-factor basic auth path

04

Vendor explicitly labels fix as 'TOTP 2FA bypass'

05

Emergency release (v2.4.2) includes the fix

Risk score

Why this scored 78/100

Our methodology →
Potential impact 22/30
Exploitability 18/25
Stealth signal 12/15
Affected reach 12/15
Confidence 9/10
Evidence quality 5/5
Primary-source trail

Evidence and disclosure record

Verified links used to place this patch in context. External claims remain attributed to their publishers.

Vendor advisory · Primary

Fix: TOTP 2FA bypass via Greenfield Basic auth

Vendor-authored fix and disclosure explaining that TOTP-only accounts could access the Greenfield API with only an email and password, bypassing the second authentication factor. The report is credited to Ben Carman.

Release notes · Primary

BTCPay Server 2.4.2

The emergency release also ships this TOTP-bypass fix. BTCPay's separate incident advisory describes an actively exploited unauthenticated file-access flaw affecting LND credentials; it does not identify this TOTP bypass as that flaw.

Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.