Skip to content
Access control Write-up Intermediate

Authentication Bypass in the default configuration phpBB

phpBB's login-link feature allowed an attacker to specify the 'apache' authentication provider, which trusts the Basic auth username without checking the password, enabling login as any user. An attacker could then escalate to administrator by using the founder account's permissions to add their own account to the admin group, and on the 4.x beta branch install a malicious extension to achieve remote code execution.

aikido.dev

Published on aikido.dev

June 10th, we announced a critical vulnerability in phpBB that lets attackers bypass authentication, now known as CVE-2026-48611. This post is a follow-up, containing technical details that explain exploit scenarios and detection methods.

The author, on aikido.dev

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could log in as any user, including administrators, and on the 4.x beta branch escalate to remote code execution by installing a malicious extension; the default configuration is vulnerable.

What the attacker needed

Default phpBB configuration; knowledge of a username; no authentication required

The fix

The vulnerability was fixed in phpBB version 3.3.17.

How it was found

  1. Send a request to the login-link endpoint with a dummy login_link parameter to pass the empty-data check.
  2. Set the auth_provider parameter to 'apache'.
  3. Include a Basic Authorization header with the target username and any password.
  4. Submit the login form with the target username.
  5. The server responds with session cookies, logging the attacker in as the target user.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

phpBB is forum software. Its login-link feature, meant for linking external accounts, let an attacker choose which login method to use. One method, called 'apache', assumed a trusted proxy had already checked the password, so it did not check it again. By selecting that method, an attacker could log in as anyone without knowing their password.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.