Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-23046

CVE-2022-23046: Phpipam SQL Injection Vulnerability

CVE-2022-23046 is a SQL injection vulnerability in Phpipam v1.4.4 that allows authenticated admin users to inject malicious SQL commands via the subnet parameter. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2022-23046 Overview

CVE-2022-23046 is a SQL Injection vulnerability in PhpIPAM v1.4.4 that allows an authenticated admin user to inject arbitrary SQL statements through the "subnet" parameter when searching for subnets via the app/admin/routing/edit-bgp-mapping-search.php endpoint. This vulnerability enables attackers with administrative access to directly manipulate database queries, potentially leading to unauthorized data access, modification, or complete database compromise.

Critical Impact

Authenticated administrators can exploit this SQL injection flaw to extract sensitive network management data, modify database records, or potentially execute operating system commands depending on database configuration, compromising the integrity of the entire IP address management infrastructure.

Affected Products

  • PhpIPAM version 1.4.4
  • PhpIPAM IP Address Management Software

Discovery Timeline

  • 2022-01-19 - CVE-2022-23046 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-23046

Vulnerability Analysis

This SQL Injection vulnerability exists in the BGP mapping search functionality of PhpIPAM's administrative interface. The application fails to properly sanitize user-supplied input in the "subnet" parameter before incorporating it into SQL queries. When an authenticated administrator performs a subnet search through the routing configuration interface, the malicious input is directly concatenated into the database query without adequate validation or parameterization.

The vulnerability requires administrative authentication to exploit, which limits the attack surface to users who already have elevated privileges or scenarios where admin credentials have been compromised. However, in multi-administrator environments or situations involving insider threats, this vulnerability presents significant risk.

Root Cause

The root cause of this vulnerability is improper input validation and the use of unsanitized user input in SQL query construction within the edit-bgp-mapping-search.php file. The application directly incorporates the "subnet" parameter value into database queries without using prepared statements or proper input escaping, allowing attackers to inject malicious SQL syntax that alters the intended query logic.

Attack Vector

The attack is network-accessible and requires an authenticated session with administrative privileges. An attacker can exploit this vulnerability by:

  1. Authenticating to the PhpIPAM administrative interface with valid admin credentials
  2. Navigating to the BGP routing mapping search functionality
  3. Injecting SQL syntax into the "subnet" search parameter
  4. The malicious SQL is executed against the backend database, allowing data extraction, modification, or other database operations

The exploitation technique involves crafting specially formatted input that breaks out of the intended SQL query context and appends additional SQL commands. Common attack patterns include UNION-based injection for data extraction, time-based blind injection for data enumeration, or stacked queries for data manipulation depending on the database configuration.

For detailed technical exploitation information, refer to the Packet Storm SQL Injection Report and the Fluid Attacks Advisory.

Detection Methods for CVE-2022-23046

Indicators of Compromise

  • Unusual SQL error messages in PhpIPAM application logs indicating query syntax errors
  • Abnormal database query patterns originating from the edit-bgp-mapping-search.php endpoint
  • Unexpected access to the BGP mapping search functionality by administrator accounts
  • Database audit logs showing queries with suspicious SQL keywords (UNION, SELECT, DROP, etc.) in subnet search operations

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in HTTP parameters
  • Monitor application logs for SQL syntax errors that may indicate injection attempts
  • Deploy database activity monitoring to identify anomalous queries from the PhpIPAM application
  • Configure intrusion detection systems to alert on requests containing common SQL injection payloads targeting the BGP mapping search endpoint

Monitoring Recommendations

  • Enable verbose logging for the PhpIPAM application to capture all administrative actions
  • Implement real-time alerting for database query anomalies and errors
  • Monitor network traffic to the PhpIPAM administrative interface for unusual request patterns
  • Review administrator account activity logs regularly for signs of credential compromise or misuse

How to Mitigate CVE-2022-23046

Immediate Actions Required

  • Upgrade PhpIPAM to version 1.4.5 or later immediately to address this vulnerability
  • Audit administrator accounts and remove unnecessary privileged access
  • Review database and application logs for any signs of prior exploitation
  • Implement network segmentation to restrict access to the PhpIPAM administrative interface

Patch Information

The vulnerability has been addressed in PhpIPAM version 1.4.5. Organizations should upgrade to this version or later to remediate the SQL injection flaw. The patched release is available from the GitHub PHPIPAM v1.4.5 Release.

Workarounds

  • Restrict network access to the PhpIPAM administrative interface using firewall rules or VPN requirements
  • Implement additional authentication layers such as multi-factor authentication for admin accounts
  • Deploy a Web Application Firewall with SQL injection detection rules in front of the PhpIPAM application
  • Limit database user privileges for the PhpIPAM application to reduce the impact of successful exploitation
bash
# Example: Restrict access to PhpIPAM admin interface via Apache configuration
<Directory "/var/www/html/phpipam/app/admin">
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Directory>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPhpipam

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability48.98%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • Packet Storm SQL Injection Report

  • Fluid Attacks Advisory: Mercury

  • GitHub PHPIPAM v1.4.5 Release
  • Related CVEs
  • CVE-2026-4189: phpipam SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English