CVE-2021-24385 Filebird 4.7.3 - Unauthenticated SQL Injection
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.
Other vulnerabilities in Ninja Team FileBird – WordPress Media Library Folders & File Manager
- CVE-2024-2345 Cross-site scripting in FileBird – WordPress Media Library Folders & File Manager
- CVE-2023-25966 WordPress FileBird plugin <= 5.1.4 - Broken Access Control vulnerability
- CVE-2024-0691 FileBird <= 5.6.0 - Authenticated(Administrator+) Stored Cross-Site Scripting via Folder Import
- CVE-2024-2346 Missing authorization in FileBird – WordPress Media Library Folders & File Manager
- CVE-2024-35166 Information disclosure in Filebird
Sources
Also known as GHSA-6cg2-rr5h-x9hh.