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

Medium 6.3 Published Updated

Remote attackers can execute arbitrary SQL commands via the table_name parameter in the rowsInfo API endpoint of IBAX go-ibax.

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

CVE-2022-3800 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, has been found in IBAX go-ibax. Affected by this issue is some unknown functionality of the file /api/v2/open/rowsInfo. The manipulation of the argument table_name leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-212636.

Weakness: CWE-89, CWE-707

Which versions are affected by CVE-2022-3800?

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

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-3800 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-rwcf-gq22-ph83, GO-2024-2783.

Is CVE-2022-3800 in your software?

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

Check your SBOMs for free