How I Found The Admin-Creation Backdoor In LA-Studio Element Kit for Elementor 1.5.6.3
The LA-Studio Element Kit for Elementor plugin contained a backdoor that allowed unauthenticated attackers to create a new administrator account by sending a crafted request with a specific parameter. This was possible because the plugin's registration handler could be tricked into assigning administrator privileges to a new user.
Published on medium.com
After hesitating for a while, I’m finally ready to share the story of my latest discovery — a nasty vulnerability lurking with terrifying potential: LA-Studio Element Kit for Elementor <= 1.5.6.3 — Unauthenticated Privilege Escalation via Backdoor to Administrative User Creation via lakitbkrole parameter.
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 parameter to conditionally apply filters that ultimately set the new user's role to administrator, bypassing intended restrictions.
Impact
An unauthenticated attacker could create a new administrator account, leading to full site compromise.
What the attacker needed
The plugin is installed and active; The registration feature is enabled; Attacker can access the site's frontend to obtain a nonce
How it was found
- Find the nonce from the frontend JavaScript object LaStudioKitSettings.
- Send a POST request to admin-ajax.php with action=lakit_ajax and a JSON 'actions' parameter containing a 'register' action with data including lakit_bkrole set to any non-empty value.
- The request creates a new user with administrator privileges.
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 WordPress plugin had a hidden feature that let anyone create a new admin account without logging in. An attacker could send a special request to the site and gain full control. The flaw was in how the plugin handled user registration, allowing a parameter to change the new user's role to administrator.
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.