CVE-2022-4889 visegripped Stracker api.php getHistory sql injection

Medium 5.5 Published Updated

An attacker can perform SQL injection via the getHistory function in Stracker's api.php, potentially reading 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-4889?

CVE-2022-4889 is a medium-severity SQL injection vulnerability in visegripped Stracker, published on 15 Jan 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability classified as critical was found in visegripped Stracker. Affected by this vulnerability is the function getHistory of the file doc_root/public_html/stracker/api.php. The manipulation of the argument symbol/startDate/endDate leads to sql injection. The identifier of the patch is 63e1b040373ee5b6c7d1e165ecf5ae1603d29e0a. It is recommended to apply a patch to fix this issue. The identifier VDB-218377 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2022-4889?

It affects 1 product.

Products include Stracker Project Stracker.

How do I fix CVE-2022-4889?

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

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

Sources

Also known as GHSA-gwpx-whwx-vq3j.

Is CVE-2022-4889 in your software?

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

Check your SBOMs for free