CVE-2021-4276 SQL injection in hedgehog

Medium 4.1 Published Updated

Remote attackers can perform SQL injection in the DNS-Stats Hedgehog Data Manager, potentially reading or modifying data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-4276?

CVE-2021-4276 is a medium-severity SQL injection vulnerability in dns-stats hedgehog, published on 25 Dec 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in dns-stats hedgehog. It has been rated as problematic. Affected by this issue is the function DSCIOManager::dsc_import_input_from_source of the file src/DSCIOManager.cpp. The manipulation leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The name of the patch is 58922c345d3d1fe89bb2020111873a3e07ca93ac. It is recommended to apply a patch to fix this issue. VDB-216746 is the identifier assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer. NOTE: We do assume that the Data Manager server can only be accessed by authorised users. Because of this, we don’t believe this specific attack is possible without such a compromise of the Data Manager server.

Weakness: CWE-89

Which versions are affected by CVE-2021-4276?

It affects 1 product.

Products include Dns-Stats Hedgehog.

How do I fix CVE-2021-4276?

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

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

Sources

Also known as GHSA-5fqf-v5cm-7jqg.

Is CVE-2021-4276 in your software?

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

Check your SBOMs for free