Skip to content
Account takeover Write-up Intermediate

10 year old critical vulnerability in phpBB affecting tens of millions of users across thousands of forums

phpBB contained an authentication bypass where a single unauthenticated HTTP request could obtain a valid session as any user, including administrators. An attacker could then read private messages, impersonate users, and with an admin account gain full read, write and delete access across the forum.

aikido.dev

Published on aikido.dev

Aikido's AI pentesting tool Aikido Attack discovered a critical Authentication Bypass vulnerability in the latest version of the forum software phpBB. The vulnerability is exploitable in the default configuration and requires no special knowledge.

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 take over any account, including administrators, exposing private messages and giving full read, write and delete access; remote code execution was not directly possible because a separate password check protects the Admin Control Panel.

What the attacker needed

No account needed; default phpBB configuration; public member list to pick a target

The fix

It was fixed in phpBB 3.3.17, with a note that instances using OAuth need to account for the redirect URI handler moving to a new path.

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.

Authentication is how a website knows who you are, usually through a session cookie after you log in. Here, a flaw meant someone could skip the login step entirely and get a working session for any account they chose. That let them act as that person, including an administrator, without ever knowing a password.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.