SQL injection in PhpIPAM



| Updated: 2023-01-08
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-23046
CWE-ID CWE-89
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
phpIPAM
Web applications / Modules and components for CMS

Vendor Miha Petkovsek

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) SQL injection

EUVDB-ID: #VU63986

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 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: Yes

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

CPE2.3 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.



###SIDEBAR###