Glances XML-RPC Vulnerabilities Enable DNS Rebinding and CORS Bypass
Glances is vulnerable to DNS rebinding via missing host header validation and an incomplete CORS fix that defaults to wildcard configurations.
Evidence
Objective core
- factThe Glances XML-RPC server does not validate the HTTP Host header.
- factThe Glances XML-RPC server lacks an allowed-hosts configuration key.
- factThe lack of Host header validation makes the XML-RPC server vulnerable to DNS rebinding attacks.
- factCVE-2026-32632 introduced TrustedHostMiddleware to the REST/WebUI server in version 4.5.2.
- factThe MCP server has included host validation since version 4.5.1.
- factAn attacker can exploit DNS rebinding to exfiltrate system monitoring data via the XML-RPC server.
- factVersion 4.5.3 introduced a configurable CORS origin list as a mitigation for CVE-2026-33533.
- factThe implementation sets the Access-Control-Allow-Origin header to '*' if the cors_origins configuration contains more than one entry.
- factThe CORS header is determined at server startup and is not compared against the actual Origin header sent by the browser.
- factA malicious web page can issue a CORS simple request to /RPC2 and read the system monitoring dataset when the wildcard is active.
Canon movements
Autonomous AI agents materially expand the exploitable attack surface: tool use, prompt injection, gateway takeover.
Through each lens
The Glances XML-RPC interface serves as a high-value target for internal reconnaissance, as it lacks fundamental host validation and implements a broken CORS policy. Attackers can leverage DNS rebinding or wildcard CORS bypasses to exfiltrate sensitive system monitoring telemetry directly from the browser context of an authenticated user.
- attacker use:Attackers will use DNS rebinding to bypass same-origin policies, forcing a victim's browser to interact with the local XML-RPC server. Alternatively, they will exploit the flawed CORS implementation by hosting malicious scripts that issue simple requests to /RPC2, effectively turning the user's browser into a proxy for exfiltrating internal monitoring data.
- ttps:T1558.001 (DNS Rebinding), T1059 (Command and Scripting Interpreter), T1592 (Gather Victim Org Information), T1082 (System Information Discovery)
- barrier lowered:The absence of Host header validation removes the requirement for network-level access, allowing remote attackers to interact with local services. The flawed CORS wildcard implementation further lowers the barrier by enabling unauthorized cross-origin data access without requiring complex exploit chains.
drafted: gemini
Our monitoring infrastructure currently contains security flaws that allow unauthorized external websites to bypass access controls and steal sensitive system data. Because the system fails to verify the origin of incoming requests, an attacker could remotely view internal performance metrics and operational logs. This vulnerability effectively turns our monitoring tools into a potential gateway for data exfiltration.
- business impact:Exposure of internal system monitoring data, potentially revealing operational architecture and performance patterns to unauthorized external parties.
- decision:Mandate an immediate audit of all Glances deployments to ensure they are updated to versions that support strict host validation and secure CORS configurations.
- risk level:High
drafted: gemini
Glances deployments are currently exposed to unauthorized data exfiltration via DNS rebinding and flawed CORS implementation, effectively bypassing perimeter controls. These vulnerabilities allow attackers to scrape sensitive system monitoring data directly from your internal infrastructure. Immediate remediation is required to prevent exploitation of these misconfigurations.
- posture change:Our internal monitoring surface has shifted from a trusted internal tool to an exploitable vector for data exfiltration, rendering existing host-based access controls ineffective.
- programme action:Prioritize patching all Glances instances to version 4.5.3 or later; audit current CORS configurations to ensure specific origin whitelisting rather than wildcard defaults; and restrict XML-RPC access to known, authenticated management subnets.
- board message:We have identified a critical vulnerability in our monitoring stack that could allow unauthorized access to internal system data. We are currently executing a targeted patching and configuration hardening program to eliminate this exposure and secure our operational telemetry.
drafted: gemini
Your Glances XML-RPC interface is currently exposed to unauthorized data exfiltration via DNS rebinding and CORS bypass attacks. Because the server fails to validate Host headers and defaults to wildcard CORS origins, any malicious site visited by an internal user can scrape your system monitoring data. You must treat this as a high-priority configuration risk.
- exposure:Any instance of Glances running versions prior to 4.5.3, specifically those utilizing the XML-RPC server.
- action priority:Critical: Update to version 4.5.3 immediately and audit your 'cors_origins' configuration to ensure it does not contain multiple entries, which triggers the dangerous wildcard header.
- detection:Hunt for inbound HTTP requests to the /RPC2 endpoint where the 'Origin' header does not match your trusted management domain, or monitor for anomalous 'Access-Control-Allow-Origin: *' headers in server responses.
drafted: gemini
Glances' failure to implement robust Host header validation and its flawed CORS wildcard implementation create a critical security surface for unauthorized data exfiltration. Investors should view this as a significant operational risk for infrastructure monitoring deployments, as the vulnerability enables remote attackers to bypass browser-based security controls and scrape internal system telemetry.
- market impact:Heightened risk of data breach and regulatory non-compliance for enterprises relying on Glances for system observability, potentially leading to increased remediation costs and reputational damage.
- affected sectors:Cloud Infrastructure, DevOps Tooling, Cybersecurity, and Managed Service Providers.
- thesis:The vulnerability exposes a lack of secure-by-default architecture in the XML-RPC component, necessitating immediate patching. Positions in organizations heavily dependent on Glances should be re-evaluated for potential exposure to unauthorized data access until version 4.5.3+ is fully deployed.
drafted: gemini
The Glances vulnerabilities reveal a dangerous cognitive bias where developers prioritize feature parity over the fundamental security of trust boundaries. By failing to validate Host headers and implementing a flawed, static CORS wildcard, the system effectively treats every incoming request as inherently authorized, exposing sensitive monitoring data to trivial browser-based exfiltration.
- human angle:This represents a failure of 'secure-by-default' design, where the system relies on the user's implicit trust in their own network environment rather than enforcing strict, verifiable identity checks.
- belief effect:It challenges the dangerous assumption that internal monitoring tools are 'safe' from external web-based threats, demonstrating that browser-based attacks can easily bridge the gap between a public internet page and a private local server.
- evidence strength:High; the technical failure to validate Host headers and the hardcoded, static nature of the CORS wildcard implementation provide a clear, deterministic path for exploitation.
drafted: gemini
The Glances XML-RPC vulnerabilities present a critical failure in input validation and cross-origin security, exposing sensitive system monitoring telemetry to unauthorized exfiltration. Organizations relying on Glances must treat this as a high-risk compliance gap, as the wildcard CORS implementation and lack of Host header validation directly contravene secure development standards and data protection mandates.
- obligation:Mandatory remediation of host validation and CORS configuration to prevent unauthorized data exfiltration; failure to patch constitutes a failure to implement 'state-of-the-art' technical measures for data protection.
- frameworks:GDPR (Article 32 Security of Processing), NIS2 (Supply Chain Security), EU AI Act (if monitoring AI infrastructure), SEC Cybersecurity Disclosure Rule (if material risk to operations).
- disclosure window:Immediate remediation required; if data exfiltration is confirmed, GDPR mandates notification to supervisory authorities within 72 hours.
drafted: gemini
The Glances XML-RPC vulnerabilities demonstrate a critical failure in securing local system monitoring interfaces against cross-origin exploitation. By failing to validate Host headers and misconfiguring CORS, the software creates a trivial vector for unauthorized data exfiltration, highlighting how legacy architectural patterns undermine the security of AI-adjacent infrastructure.
- safety implication:The lack of Host header validation and flawed CORS implementation allows malicious web pages to bypass browser-enforced security boundaries, effectively exposing sensitive system telemetry to unauthorized actors.
- misuse risk:The vulnerability facilitates the exfiltration of system monitoring data via DNS rebinding, providing attackers with reconnaissance capabilities that could be leveraged to compromise broader AI orchestration environments.
- governance gap:The inconsistent application of security middleware across different server components—specifically the omission of host validation in XML-RPC while implementing it in REST/WebUI—reveals a lack of unified secure-by-design standards in development lifecycles.
drafted: gemini
The Glances vulnerabilities expose a fundamental tension between the convenience of interconnected systems and the erosion of digital sovereignty. By failing to enforce strict host validation and proper origin isolation, the software transforms a monitoring tool into a conduit for unauthorized surveillance, effectively turning the user's own infrastructure against their privacy.
- societal impact:These vulnerabilities normalize the exploitation of trust within local networks, shifting the power dynamic from the user to any malicious actor capable of manipulating DNS resolution to exfiltrate private system telemetry.
- who is affected:Individuals and organizations relying on Glances for infrastructure oversight, whose private system data becomes accessible to external actors through browser-based exfiltration.
- freedom effect:This flaw constrains human freedom by undermining the expectation of digital privacy within private environments, forcing users to choose between the utility of monitoring tools and the security of their data.
drafted: gemini
Glances XML-RPC is vulnerable to DNS rebinding due to missing Host header validation and a flawed CORS implementation that defaults to a wildcard '*' policy when multiple origins are configured. Attackers can bypass same-origin protections to exfiltrate sensitive system monitoring data via simple cross-origin requests to the /RPC2 endpoint.
- mechanism:The XML-RPC server lacks Host header validation, enabling DNS rebinding. Additionally, the CORS implementation incorrectly defaults to a wildcard Access-Control-Allow-Origin header if multiple origins are defined, ignoring the actual Origin header during request processing.
- exploit likelihood:High. The lack of Host header validation is a trivial bypass for DNS rebinding, and the static, wildcard-prone CORS logic allows any malicious site to perform unauthorized cross-origin data exfiltration.
- adoption steps:Immediately upgrade to version 4.5.3 or later. If upgrading is not feasible, restrict access to the XML-RPC port via network-level firewalls or mTLS proxies, as the application-level middleware (TrustedHostMiddleware) is currently inconsistent across server components.
drafted: gemini
Where the lenses clash
The Adversary views the vulnerability as a tactical opportunity for exploitation, whereas the Psychological lens frames it as a systemic failure of developer cognition and prioritization.
The Board views the issue as a manageable operational risk and data security failure, while the Sociological lens frames it as an existential erosion of digital sovereignty and a transformation of tools into instruments of surveillance.
The Technical lens focuses on the specific mechanics of the /RPC2 endpoint and CORS configuration, whereas the AI safety lens abstracts the event into a broader critique of legacy architectural patterns in AI-adjacent infrastructure.
json · rss · all events