CVE-2024-12293 User Role Editor <= 4.64.3 - Cross-Site Request Forgery to Privilege Escalation

High 8.8 Published Updated

Attackers can trick administrators into granting themselves admin privileges via CSRF in the User Role Editor plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-12293?

CVE-2024-12293 is a high-severity vulnerability in shinephp User Role Editor, published on 17 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The User Role Editor plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.64.3. This is due to missing or incorrect nonce validation on the update_roles() function. This makes it possible for unauthenticated attackers to add or remove roles for arbitrary users, including escalating their privileges to administrator, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Weakness: CWE-352

Which versions are affected by CVE-2024-12293?

How do I fix CVE-2024-12293?

No fix has been published for CVE-2024-12293 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-12293 being exploited?

There is no known exploitation of CVE-2024-12293 in the wild and no public exploit code.

Sources

Also known as GHSA-gxcj-4x66-8ccf.

Is CVE-2024-12293 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free