Reversing Wordpress Cves Baby Steps
The Bookit WordPress plugin allowed unauthenticated attackers to log in as any existing user, including an administrator, if they knew the user's email address. This was due to the plugin trusting a user-supplied email to set the authentication cookie.
Published on infosecwriteups.com
Hey all! My first post in a long time.
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
Root cause
The plugin used a user-supplied email to identify and authenticate a user, then set the authentication cookie for that user without verifying credentials.
Impact
An unauthenticated attacker could log in as any user, including an administrator, if they knew the user's email address; the initial patch still allowed takeover of lower-privileged accounts until version 2.3.8.
What the attacker needed
Target runs Bookit plugin <2.3.6; attacker knows victim's email address; no authentication required
The fix
The vulnerability was fixed in version 2.3.8 of the Bookit plugin.
How it was found
- Create a page with the Bookit booking shortcode.
- Fill in the booking form with the admin's email address.
- Submit the booking request to the admin-ajax endpoint.
- The server responds with cookies that log you in as the administrator.
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.
This is a login bypass in a WordPress plugin. The plugin lets people book appointments, and during booking it asks for an email. The plugin then uses that email to decide who you are and logs you in as that person, without checking a password. So if you know an admin's email, you can become that admin.
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.