CVE-2021-24704 Orange Form <= 1.0 - SQL Injection via CSRF

High 8.8 Published Updated

Attackers can exploit SQL injection via CSRF to modify or delete data by tricking an admin into visiting a malicious page.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24704?

CVE-2021-24704 is a high-severity SQL injection vulnerability in Unknown Orange Form, published on 28 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In the Orange Form WordPress plugin through 1.0, the process_bulk_action() function in "admin/orange-form-email.php" performs an unprepared SQL query with an unsanitized parameter ($id). Only admin can access the page that invokes the function, but because of lack of CSRF protection, it is actually exploitable and could allow attackers to make a logged in admin delete arbitrary posts for example

Weakness: CWE-89, CWE-352

Which versions are affected by CVE-2021-24704?

It affects 1 product.

Products include Orange-Form Project Orange-Form.

How do I fix CVE-2021-24704?

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

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

Sources

Also known as GHSA-rff5-6q73-5r3m.

Is CVE-2021-24704 in your software?

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

Check your SBOMs for free