CVE-2021-24404 WP-Board <= 1.1 (beta) - Unauthenticated SQL Injection
Unauthenticated attackers can execute arbitrary SQL commands via the postid parameter in the WP-Board plugin, potentially reading or modifying database contents.
- 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-2021-24404?
CVE-2021-24404 is a high-severity SQL injection vulnerability in Unknown WP-Board, published on 20 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The options.php file of the WP-Board WordPress plugin through 1.1 beta accepts a postid parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. This is a time based SQLI and in the same function vulnerable parameter is passed twice so if we pass time as 5 seconds it takes 10 seconds to return since the query ran twice.
Weakness: CWE-89
Which versions are affected by CVE-2021-24404?
It affects 1 product.
Products include Wp-Board Project Wp-Board.
How do I fix CVE-2021-24404?
No fix has been published for CVE-2021-24404 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-24404 being exploited?
There is no known exploitation of CVE-2021-24404 in the wild and no public exploit code.
Sources
Also known as GHSA-xg34-xq74-8f84.