CVE-2021-4313 NethServer phonenehome index.php get_country_coor sql injection

Medium 5.5 Published Updated

SQL injection in NethServer phonehome allows attackers to manipulate database queries, potentially exposing or modifying sensitive data.

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-2021-4313?

CVE-2021-4313 is a medium-severity SQL injection vulnerability in NethServer phonenehome, published on 16 Jan 2023. 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 NethServer phonenehome. It has been rated as critical. This issue affects the function get_info/get_country_coor of the file server/index.php. The manipulation leads to sql injection. The identifier of the patch is 759c30b0ddd7d493836bbdf695cf71624b377391. It is recommended to apply a patch to fix this issue. The identifier VDB-218393 was assigned to this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2021-4313?

It affects 1 product.

Products include Nethserver-Phonenehome Project Nethserver-Phonenehome.

How do I fix CVE-2021-4313?

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

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

Sources

Also known as GHSA-gjw6-4ppg-h3xg.

Is CVE-2021-4313 in your software?

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

Check your SBOMs for free