CVE-2022-4860 KBase Metrics methods_upload_user_stats.py upload_user_data sql injection

Medium 5.5 Published Updated

An attacker can perform SQL injection via the upload_user_data function in KBase Metrics, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-4860?

CVE-2022-4860 is a medium-severity SQL injection vulnerability in KBase Metrics, published on 30 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in KBase Metrics. It has been classified as critical. This affects the function upload_user_data of the file source/daily_cron_jobs/methods_upload_user_stats.py. The manipulation leads to sql injection. The patch is named 959dfb6b05991e30b0fa972a1ecdcaae8e1dae6d. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-217059.

Weakness: CWE-89

Which versions are affected by CVE-2022-4860?

It affects 1 product.

Products include Kbase Metrics.

How do I fix CVE-2022-4860?

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

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

Sources

Also known as GHSA-h84r-8j4h-gf84.

Is CVE-2022-4860 in your software?

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

Check your SBOMs for free