CVE-2022-25784
Executive Summary
CVE-2022-25784 is a stored/reflected Cross-site Scripting (XSS) vulnerability in the Web GUI of Secomea SiteManager, affecting all versions prior to 9.7. The vulnerability allows a logged-in user to inject arbitrary scripting into the web interface, which could be leveraged for session hijacking, privilege escalation, or lateral movement within the OT/ICS environment. With a CVSS score of 9.1, this is a critical-severity flaw, yet the vendor has not released a patch to date, leaving all affected systems persistently exposed.
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.
No signup required
Technical Analysis
Vulnerability Class: Cross-site Scripting (XSS) — specifically user-controllable HTML element attribute injection, as indicated by the CNA title.
Affected Component: Web GUI of Secomea SiteManager (versions < 9.7).
Attack Mechanism: The vulnerability stems from improper sanitization of user-supplied input within HTML element attributes in the SiteManager's web-based management interface. When a logged-in user submits data that is later rendered in the Web GUI without adequate encoding or validation, the application fails to neutralize or incorrectly neutralizes "scripting" elements. Because the injection point is an HTML element attribute, the attack likely involves breaking out of the attribute's value context (e.g., injecting " onerror="... or similar attribute-based XSS payloads) rather than a simple tag injection.
Attack Surface: The Web GUI is the management interface for the SiteManager — a secure remote access gateway used in industrial (OT/ICS) networks to provide VPN-based remote access to PLCs, HMIs, and other field devices. The attack surface is limited to authenticated users ("logged-in user"), meaning a valid session is required to exploit the flaw. However, given the interconnected nature of OT environments, any user with access to the gateway's web console (even low-privilege accounts) can trigger the vulnerability.
Code-Level Detail: The NVD description does not disclose specific function names, URL endpoints, or parameter names. Insufficient technical detail is available to identify the exact code path. The flaw is characterized at the class level as a failure to neutralize input during web page generation — categorically a missing output encoding vulnerability.
Authentication Requirement: The attack requires an authenticated session. It is not a pre-auth vulnerability. This reduces the direct network exposure but increases the risk in multi-user OT environments where shared credentials or weak password policies are common.
Ratings Context: CVSS 9.1 indicates critical severity, consistent with an XSS that could be escalated to full administrative control of the gateway. EPSS score of 0.00587 (44.9th percentile) suggests a low-moderate probability of exploitation in the wild, but the lack of a patch means the risk window remains open indefinitely.
Exploitation Scenarios
Precondition: Attacker possesses valid credentials for a user account on the SiteManager Web GUI (operator, maintenance, or engineering level). No public exploit code exists; the attack chain below is inferred from the vulnerability class. No public PoC is available.
Step 1 — Reconnaissance/Target Identification: An attacker with a foothold in the OT network (via phishing, VPN account compromise, or a trusted insider) performs network scanning to discover Secomea SiteManager devices. The Web GUI is typically reachable on port 443. Fingerprinting can be done via the default Secomea login page and SSL certificate metadata. Shodan dorks such as title:"SiteManager" or "Secomea" can identify internet-exposed instances, although best practice mandates these devices behind a firewall.
Step 2 — Triggering the Flaw: The attacker logs into the Web GUI with the compromised credentials. They navigate to a feature that accepts textual input — such as device names, user description fields, configuration notes, or VPN tunnel labels — and submit a crafted payload designed to break out of an HTML attribute context. For example: " onmouseover="alert(1)\" or an event-handler based payload. The application stores this input without sanitization.
Step 3 — Payload Execution: The stored payload is rendered to another user (e.g., a senior engineer or admin) when that user views the same page in the Web GUI. The browser interprets the injected attribute, executing JavaScript in the context of the admin's authenticated session. Alternatively, the attacker may target a shared configuration page that all users view, achieving a stored-XSS propagation.
Step 4 — Post-Exploitation Impact: With the admin's session cookies harvested, the attacker can perform session hijacking to gain administrative access to the SiteManager. From there, they can: create rogue VPN users, alter routing rules to tunnel traffic to attacker-controlled endpoints, modify firewall policies, exfiltrate configuration data, or establish persistent access to the OT network. Given SiteManager's role as a secure remote access gateway, full compromise equates to direct access to industrial control systems behind it — potentially enabling manipulation of PLC logic, disruption of manufacturing processes, or a pivot point for ransomware deployment.
Impact Assessment
Business Impact: SiteManager is deployed in industrial/OT environments — manufacturing, utilities, energy, healthcare facilities. Compromise of this gateway gives attackers a direct bridge from the IT/perimeter into the OT trust zone. The consequences are not limited to data theft; they include operational disruption, safety risks to plant personnel, and production downtime measured in millions of dollars per day.
Affected Systems: All Secomea SiteManager versions prior to 9.7 (exact build ranges not specified in the CNA data). The patch index of 0/4 confirms no patched version has been identified across any tracked source, meaning every deployed instance remains vulnerable.
Blast Radius: The XSS itself is confined to the Web GUI, but the downstream blast radius is the entire OT network reachable via SiteManager tunnels. CVSS subscores implied by 9.1 indicate high impact (likely high Confidentiality, Integrity, and Availability impacts). Given the patch absence, the vulnerability can be considered a chronic, unresolved risk for any organization running SiteManager 9.6 or earlier.
Detection Guidance
Sigma Rule
title: Secomea SiteManager Web GUI XSS Attempt
id: 9e4d3c44-5b2a-41a7-9f9a-2b8f138c5d11
status: experimental
description: Detects potential XSS payloads targeted at Secomea SiteManager Web GUI
references:
- https://nvd.nist.gov/vuln/detail/CVE-2022-25784
author: SOC Team
date: 2024/06/01
logsource:
category: webserver
product: secomea_sitemanager
detection:
selection_event_attributes:
cs-method: 'POST'
cs-uri-extension:
- '.php'
- '.js'
- '/'
selection_xss_payloads:
c-uri|contains:
- '<script>'
- 'javascript:'
- 'onerror='
- 'onload='
- 'onmouseover='
- 'onclick='
cs-user-agent|contains:
- 'curl'
- 'wget'
- 'python'
condition: selection_event_attributes and selection_xss_payloads
falsepositives:
- Legitimate admin using HTML-encoded configuration values (unlikely)
level: high
YARA Rule
rule Secomea_SiteManager_XSS_Payloads
{
meta:
author = "SOC Team"
description = "Detect JavaScript XSS injections targeting Secomea SiteManager"
cve = "CVE-2022-25784"
date = "2024-06-01"
severity = "high"
strings:
$a = "onerror=" ascii wide nocase
$b = "onload=" ascii wide nocase
$c = "javascript:" ascii wide nocase
$d = "<script>" ascii wide nocase
$e = "onmouseover=" ascii wide nocase
$f = "alert(1)" ascii wide nocase
condition:
any of ($a,$b,$c,$d,$e,$f) and filesize < 10MB
}
Suricata IDS Rule
alert http any any -> any any (msg:"CVE-2022-25784 Attempted Secomea SiteManager XSS Injection"; flow:established,to_server; content:"POST"; http_method; content:"SiteManager"; http_host; content:"onerror"; http_uri; nocase; content:"<script>"; http_uri; nocase; sid:10025784; rev:1; reference:cve,2022-25784;)
Elastic Detection
sequence by source.ip with maxspan=30m
[network where destination.port == 443 and process.name == "nginx"]
[http where http.request.method == "POST" and http.request.body.content contains "onerror" or http.request.body.content contains "<script>" or http.request.body.content contains "javascript:"]
[authentication where host.name == "sitemanager" and outcome == "success"]
Splunk SPL Query
index=web sourcetype=access_combined uri_path=*SiteManager* OR host=*sitemanager*
| search "onerror" OR "onload" OR "<script>" OR "javascript:" OR "onmouseover" OR "alert(1)"
| stats count by src_ip, uri, method, status
| where count > 5
| table _time, src_ip, method, uri, status, count
Wazuh OSSEC Rule
<group name="web_attacks,">
<rule id="100284" level="12">
<if_sid>31100</if_sid>
<match>onerror=|onload=|javascript:|<script>|onmouseover=</match>
<description>CVE-2022-25784 - Secomea SiteManager XSS payload detected</description>
<group>cve-2022-25784,xss,web_attack</group>
<mitre>
<id>T1190</id>
</mitre>
</rule>
</group>
Mitigation & Patch Guidance
Patch Status: CVE-2022-25784 is UNPATCHED (confidence 0/4 — no patch evidence from any tracked source). No vendor fix exists. The vulnerability affects all SiteManager versions prior to 9.7, and no patched release has been identified.
Immediate Mitigations (no patch available):
- Limit Web GUI access: Restrict the SiteManager Web GUI to trusted management VLANs only. Block internet-facing exposure via firewall rules (deny inbound 443/TCP and 80/TCP from WAN). If remote management is required, use a VPN concentrator separate from SiteManager.
- Enforce MFA and strict access control: Implement multi-factor authentication on all SiteManager accounts. Remove unused accounts and enforce least-privilege (e.g., operators should not have admin). Review user roles regularly.
- Disable the Web GUI if not operationally required: If the gateway can be managed exclusively via CLI or API by automation, shut down the web service.
- Network monitoring: Apply the above detection rules on the DMZ/SOC gateway to alert on XSS payloads reaching SiteManager. Correlate with VPN login events.
- Segmentation: Ensure SiteManager devices are in an isolated zone with no direct route to IT systems; enforce strict east-west traffic filtering.
Patch/Upgrade Steps (when available):
- Subscribe to Secomea's vendor advisories and wait for a fixed release (expected version 9.7+ per the NVD data).
- Before upgrading, back up the SiteManager configuration. Verify the new firmware SHA-256 hash against vendor-published values.
- Perform the upgrade during a maintenance window; test in a lab environment replicating the production OT setup.
- After the patch, re-audit user accounts and change all shared/embedded credentials.
Long-Term Hardening:
- Establish a documented patch management policy for all OT gateways; if the vendor remains unpatched for a prolonged period, consider replacement with a supported alternative.
- Conduct periodic penetration tests of the SiteManager Web GUI, specifically targeting input validation and XSS vectors.
- Implement a WAF (network or host-based) in front of the Web GUI to filter malicious input, even after patching, as defense-in-depth.
- Maintain an asset inventory identifying all SiteManager instances and their version numbers. Flag any that lie below 9.7 in the vulnerability management dashboard.
- Enable comprehensive logging on SiteManager (auth and config-change events) and forward logs to a centralized SIEM.
References
- NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2022-25784
- Secomea Official Site (product advisory area): https://www.secomea.com (search for SiteManager 9.7 release notes)
- MITRE CVE Record: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25784
- CISA KEV: Not listed (no known exploited vulnerability status)
- No known threat actor campaigns or exploit-in-the-wild evidence have been reported for this CVE. The absence of a public PoC and the low EPSS percentile suggest limited real-world exploitation to date, but the lack of a vendor patch warrants sustained monitoring.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.