SQL injection in phpIPAM - CVE-2022-23046

 

SQL injection in phpIPAM - CVE-2022-23046

Published: June 6, 2022 / Updated: January 8, 2023


Vulnerability identifier: #VU63986
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2022-23046
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Miha Petkovsek
Affected software:
phpIPAM

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "subnet" parameter while searching a subnet via app/admin/routing/edit-bgp-mapping-search.php. A remote authenticated administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.



How to mitigate CVE-2022-23046

Install updates from vendor's website.

Sources