CVE-2022-3802 IBAX go-ibax rowsInfo sql injection

Medium 6.3 Published Updated

Remote attackers can execute arbitrary SQL commands via the 'where' argument in the rowsInfo API endpoint of the IBAX go-ibax platform.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3802?

CVE-2022-3802 is a medium-severity SQL injection vulnerability in go-ibax, published on 1 Nov 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in IBAX go-ibax and classified as critical. This vulnerability affects unknown code of the file /api/v2/open/rowsInfo. The manipulation of the argument where leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-212638 is the identifier assigned to this vulnerability.

Weakness: CWE-89, CWE-707

Which versions are affected by CVE-2022-3802?

3 open source packages ship an affected version, including github.com/IBAX-io/go-ibax. It affects 1 product.

PackageAffectedFixed in
github.com/IBAX-io/go-ibax GoAll versions1.4.2
github.com/IBAX-io/go-ibax GoAll versions1.4.2
github.com/IBAX-io/go-ibax GoAll versions1.4.2

Products include Ibax Go-Ibax.

How do I fix CVE-2022-3802?

Upgrade github.com/IBAX-io/go-ibax to 1.4.2 or later.

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-2022-3802 being exploited?

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

Sources

Also known as GHSA-g23g-mw97-65c8, GO-2024-2770.

Is CVE-2022-3802 in your software?

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

Check your SBOMs for free