CVE-2022-23046 SQL injection in PhpIPAM

High 7.2 Published Updated

An authenticated admin can inject SQL commands via the subnet parameter in the BGP mapping search feature, potentially compromising database integrity.

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-2022-23046?

CVE-2022-23046 is a high-severity SQL injection vulnerability in Phpipam Phpipam, published on 19 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

PhpIPAM v1.4.4 allows an authenticated admin user to inject SQL sentences in the "subnet" parameter while searching a subnet via app/admin/routing/edit-bgp-mapping-search.php

Weakness: CWE-89

Which versions are affected by CVE-2022-23046?

It affects 1 product.

Products include Phpipam Phpipam.

How do I fix CVE-2022-23046?

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

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

Public exploit code: 1 Exploit-DB entry and 4 proofs of concept on GitHub.

All Phpipam Phpipam vulnerabilities

Sources

Also known as GHSA-53m2-8j58-chqq.

Is CVE-2022-23046 in your software?

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

Check your SBOMs for free