CVE-2021-41765 SQL injection in n/a

Critical 9.8 Published Updated

Remote unauthenticated attackers can execute arbitrary SQL commands to read database contents and potentially achieve remote code execution via stolen admin sessions.

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

CVE-2021-41765 is a critical SQL injection vulnerability in n/a, published on 15 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A SQL injection issue in pages/edit_fields/9_ajax/add_keyword.php of ResourceSpace 9.5 and 9.6 < rev 18274 allows remote unauthenticated attackers to execute arbitrary SQL commands via the k parameter. This allows attackers to uncover the full contents of the ResourceSpace database, including user session cookies. An attacker who gets an admin user session cookie can use the session cookie to execute arbitrary code on the server.

Weakness: CWE-89

Which versions are affected by CVE-2021-41765?

1 open source package ship an affected version, including resourcespace. It affects 1 product.

PackageAffectedFixed in
resourcespace BitnamiFrom 9.5.0 to 9.5.0None

Products include Montala Resourcespace.

How do I fix CVE-2021-41765?

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

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

Sources

Also known as BIT-resourcespace-2021-41765, GHSA-pgmr-v7pw-5gx5.

Is CVE-2021-41765 in your software?

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

Check your SBOMs for free