CVE-2024-9887 Login using WordPress Users ( WP as SAML IDP ) <= 1.15.6 - Authenticated (Administrator+) SQL Injection

High 7.2 Published Updated

Authenticated administrators can exploit SQL injection to extract sensitive database information from the WordPress SAML IDP plugin.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-9887?

CVE-2024-9887 is a high-severity SQL injection vulnerability in cyberlord92 SAML IDP (Identity Provider) – Login with Website Users, published on 16 Nov 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

The Login using WordPress Users ( WP as SAML IDP ) plugin for WordPress is vulnerable to time-based SQL Injection via the ‘id’ parameter in all versions up to, and including, 1.15.6 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 Administrator-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Weakness: CWE-89

Which versions are affected by CVE-2024-9887?

How do I fix CVE-2024-9887?

No fix has been published for CVE-2024-9887 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-9887 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9887 exists.

Sources

Also known as GHSA-69pq-jvj3-5w47.

Is CVE-2024-9887 in your software?

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

Check your SBOMs for free