#VU63986 SQL injection in phpIPAM - CVE-2022-23046


| Updated: 2023-01-08

Vulnerability identifier: #VU63986

Vulnerability risk: Low

CVSSv4.0: 2 [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: Network

Exploit availability: Yes

Vulnerable software:
phpIPAM
Web applications / Modules and components for CMS

Vendor: Miha Petkovsek

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.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

phpIPAM: 1.0 - 1.20.1


External links
https://github.com/phpipam/phpipam/releases/tag/v1.4.5
https://fluidattacks.com/advisories/mercury/
https://packetstormsecurity.com/files/165683/PHPIPAM-1.4.4-SQL-Injection.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability