CVE-2024-12276 Ultimate Member <= 2.9.2 - Authenticated SQL Injection

Medium 5.3 Published Updated

Authenticated attackers can exploit second-order SQL injection via filenames to extract sensitive database information from the Ultimate Member WordPress plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-12276?

CVE-2024-12276 is a medium-severity SQL injection vulnerability in ultimatemember Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin, published on 21 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin plugin for WordPress is vulnerable to second-order SQL Injection via filenames in all versions up to, and including, 2.9.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with access to upload files and manage filenames through a third-party plugin like a File Manager, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The risk of this vulnerability is very minimal as it requires a user to be able to manipulate filenames in order to successfully exploit.

Weakness: CWE-89

Which versions are affected by CVE-2024-12276?

It affects 1 product.

Products include Ultimatemember Ultimate Member.

How do I fix CVE-2024-12276?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-12276 being exploited?

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

Sources

Also known as GHSA-mrg6-gr4g-r85w.

Is CVE-2024-12276 in your software?

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

Check your SBOMs for free