Skip to content
Access control Write-up Intermediate

Wordpress ACF-Extended CVE-2025–14533 Deep Dive

The ACF-Extended plugin's user-registration form action did not restrict which roles could be assigned, so an unauthenticated visitor could submit the administrator role and gain admin access. This only worked when an administrator had built a form with a role field mapped to the user role.

medium.com

Published on medium.com

CVE-2025–14533 merupakan salah satu kerentanan pada wordpress plugin ACF-Extended pada versi sebelum 0.9.2.2yang dapat dimanfaatkan untuk melakukan privilege escalation. intinya user biasa atau visitor dapat melakukan registrasi akun administrator.

xpl0dec, on medium.com

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 passed user-supplied role data straight into WordPress's user-creation function without checking that the role was allowed for self-registration.

Impact

An unauthenticated attacker could create an administrator account, but only on sites where an administrator had configured a registration form with a role field.

What the attacker needed

Vulnerable plugin version below [redacted]; admin-built form with a role field; no account needed

The fix

The plugin was fixed in version 0.9.2.2 by restricting the roles that can be assigned during registration.

How it was found

  1. Create a field group with fields for username, password and role.
  2. Create a form that uses that field group and selects the Create user action.
  3. Map the form fields to the user, pass and role inputs.
  4. Place the generated form shortcode on a post or page so the form is rendered.
  5. Submit the form with the administrator role to create an admin account.
  6. Log in with the new account to confirm administrator access.

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.

WordPress plugins can add forms that create user accounts. This plugin let the form decide the new account's role, and it never checked that the role was a safe one. If a site owner built such a form and included a role field, anyone could register as an administrator.

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.