CVE-2021-43830 SQL injection in OpenProject

High 7.4 Published Updated

Authenticated users with budget editing permissions can execute SQL commands via the reassign_to_id parameter in OpenProject.

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-43830?

CVE-2021-43830 is a high-severity SQL injection vulnerability in opf openproject, published on 14 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenProject is a web-based project management software. OpenProject versions >= 12.0.0 are vulnerable to a SQL injection in the budgets module. For authenticated users with the "Edit budgets" permission, the request to reassign work packages to another budget unsufficiently sanitizes user input in the `reassign_to_id` parameter. The vulnerability has been fixed in version 12.0.4. Versions prior to 12.0.0 are not affected. If you're upgrading from an older version, ensure you are upgrading to at least version 12.0.4. If you are unable to upgrade in a timely fashion, the following patch can be applied: https://github.com/opf/openproject/pull/9983.patch

Weakness: CWE-89

Which versions are affected by CVE-2021-43830?

It affects 1 product.

Products include Openproject Openproject.

How do I fix CVE-2021-43830?

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

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

Sources

Also known as GHSA-f565-3whr-6m96.

Is CVE-2021-43830 in your software?

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

Check your SBOMs for free