CVE-2021-24385 Filebird 4.7.3 - Unauthenticated SQL Injection

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary SQL commands via the REST API due to improper input sanitization in the FileBird WordPress plugin.

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

What is CVE-2021-24385?

CVE-2021-24385 is a critical SQL injection vulnerability in Ninja Team FileBird – WordPress Media Library Folders & File Manager, published on 12 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Filebird Plugin 4.7.3 introduced a SQL injection vulnerability as it is making SQL queries without escaping user input data from a HTTP post request. This is a major vulnerability as the user input is not escaped and passed directly to the get_col function and it allows SQL injection. The Rest API endpoint which invokes this function also does not have any required permissions/authentication and can be accessed by an anonymous user.

Weakness: CWE-89

Which versions are affected by CVE-2021-24385?

It affects 1 product.

Products include Ninjateam Filebird.

How do I fix CVE-2021-24385?

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

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

Sources

Also known as GHSA-6cg2-rr5h-x9hh.

Is CVE-2021-24385 in your software?

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

Check your SBOMs for free