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

Medium 6.3 Published Updated

Remote attackers can exploit SQL injection in the rowsInfo API endpoint of IBAX go-ibax to read or modify database contents.

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

CVE-2022-3801 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, which was classified as critical, was found in IBAX go-ibax. This affects an unknown part of the file /api/v2/open/rowsInfo. The manipulation of the argument order leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-212637 was assigned to this vulnerability.

Weakness: CWE-89, CWE-707

Which versions are affected by CVE-2022-3801?

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

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-3801 being exploited?

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

Sources

Also known as GHSA-m738-584h-26p6, GO-2024-2775.

Is CVE-2022-3801 in your software?

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

Check your SBOMs for free