CVE-2022-0944 Template injection in connection test endpoint leads to RCE in sqlpad/sqlpad

Critical 9.1 Published Updated

Template injection in the connection test endpoint allows remote attackers to execute arbitrary code on the server.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-0944?

CVE-2022-0944 is a critical code injection vulnerability in sqlpad/sqlpad, published on 15 Mar 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Template injection in connection test endpoint leads to RCE in GitHub repository sqlpad/sqlpad prior to 6.10.1.

Weakness: CWE-94, CWE-1336

Which versions are affected by CVE-2022-0944?

It affects 1 product.

Products include Sqlpad Sqlpad.

How do I fix CVE-2022-0944?

No fix has been published for CVE-2022-0944 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-0944 being exploited?

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

Public exploit code: 10 proofs of concept on GitHub.

Sources

Also known as GHSA-xrh7-6fvm-56v5.

Is CVE-2022-0944 in your software?

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

Check your SBOMs for free