☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5 🐛 CWE-20
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-6240

CVE-2025-6240 Path Traversal in Profisee
📅 PUBLISHED: 2025-06-18 14:46 UTC 🔄 UPDATED: 2026-09-23 20:34 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
8.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.0
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-6240 is an Improper Input Validation vulnerability in Profisee on Windows, specifically within its filesystem modules. This flaw allows an authenticated attacker to perform Path Traversal, potentially reading, writing, or deleting files outside the intended directory. The vulnerability affects Profisee versions from 2020R1 up to, but not including, 2024R2. No public proof-of-concept (PoC) or exploit code has been released at this time. The CVSS score is currently 0.0, indicating incomplete scoring data, but the impact is considered high due to the potential for unauthorized file system access.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

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.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to a package manager (NPM, PyPI, Go, Ruby) and does not involve a supply chain component. It is a direct application-level flaw in the Profisee software.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder or an error in the NVD data. Based on the vulnerability type (Path Traversal after authentication), a reasonable estimated CVSS vector would be:

  • Attack Vector (AV): Network (N) – The attack is performed over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): Low (L) – Authentication is required, but the attacker only needs low-level privileges.
  • User Interaction (UI): None (N) – No user interaction is needed.
  • Scope (S): Unchanged (U) – The vulnerable component and the affected resource are the same.
  • Confidentiality (C): High (H) – Sensitive files could be read.
  • Integrity (I): High (H) – Files could be modified or deleted.
  • Availability (A): High (H) – File deletion could lead to denial of service.

Estimated CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Estimated Base Score: 8.8 (High)

Threat Level: High. While authentication is required, the potential for full file system compromise makes this a critical risk for affected organizations.

Deep Dive & Mechanics

The vulnerability resides in the filesystem modules of Profisee. These modules handle file operations such as reading, writing, and deleting files based on user input. The core issue is Improper Input Validation (CWE-20). The application fails to properly sanitize or validate file paths provided by authenticated users.

Mechanism:

  1. An authenticated user sends a request to a Profisee endpoint that accepts a file path parameter.
  2. The application does not check if the provided path contains path traversal sequences (e.g., ../ or ..\ on Windows).
  3. The application constructs a file system operation (e.g., read, write, delete) using the unsanitized user input.
  4. The attacker can manipulate the path to escape the intended directory (e.g., C:\Program Files\Profisee\Data) and access arbitrary files on the Windows file system (e.g., C:\Windows\System32\config\SAM).

Impact:

  • Confidentiality: An attacker can read sensitive files, including configuration files, database credentials, and system files.
  • Integrity: An attacker can overwrite critical application or system files, potentially leading to code execution or system compromise.
  • Availability: An attacker can delete essential files, causing a denial of service.

Vulnerable vs. Patched Code

Since no patch details or code snippets are available, this section provides a conceptual comparison.

Vulnerable Code (Conceptual):

// Vulnerable: Directly uses user input to construct file path
string userInput = Request.QueryString["filePath"];
string fullPath = Path.Combine(baseDirectory, userInput);
string content = File.ReadAllText(fullPath);
Response.Write(content);

Patched Code (Conceptual):

// Patched: Validates and sanitizes the file path
string userInput = Request.QueryString["filePath"];
string fullPath = Path.Combine(baseDirectory, userInput);

// Get the full path and ensure it is within the base directory
string fullPath = Path.GetFullPath(fullPath);
if (!fullPath.StartsWith(baseDirectory, StringComparison.OrdinalIgnoreCase))
{
    throw new SecurityException("Invalid file path.");
}

string content = File.ReadAllText(fullPath);
Response.Write(content);

The patched version uses Path.GetFullPath() to resolve any ..\ sequences and then checks that the resolved path starts with the intended base directory. This prevents path traversal.

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • A valid, low-privileged user account on the Profisee system.
  • Network access to the Profisee web interface.
  • Knowledge of a vulnerable endpoint (e.g., /api/files/read, /api/files/delete).

Exploitation Steps:

  1. Authenticate: Log in to the Profisee system with the compromised credentials.
  2. Identify Endpoint: Use a web proxy (e.g., Burp Suite) to intercept requests and identify endpoints that accept file paths. Look for parameters like filePath, path, filename, etc.
  3. Craft Payload: Modify the file path parameter to include path traversal sequences. For example:
    • ../../../../Windows/System32/drivers/etc/hosts
    • ..\..\..\..\Windows\System32\config\SAM
  4. Send Request: Send the crafted request. If successful, the response will contain the contents of the target file (for read operations) or a success message (for write/delete operations).
  5. Escalate: Use the information gained (e.g., database credentials) to further compromise the system.

Example Request (Conceptual):

POST /api/files/read HTTP/1.1
Host: profisee.example.com
Cookie: session=valid_session_cookie
Content-Type: application/json

{
  "filePath": "../../../../Windows/System32/drivers/etc/hosts"
}

Blue Team (Defender)

Detection & Response:

  1. Monitor File Access: Enable auditing on the Profisee server to log file access attempts. Look for attempts to access files outside of the Profisee installation directory.
  2. Web Application Firewall (WAF): Deploy a WAF with rules to block path traversal patterns (e.g., \.\./, \.\.\\).
  3. Input Validation: Ensure that all file path inputs are validated and sanitized on the server side.
  4. Least Privilege: Run the Profisee application with the minimum necessary file system permissions. Restrict write and delete access to only the required directories.
  5. Incident Response: If an attack is detected, immediately revoke the compromised user's credentials, isolate the affected system, and conduct a forensic analysis.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests containing path traversal sequences (../, ..\) in file path parameters.
    • Unusual outbound connections from the Profisee server to external IPs (if data exfiltration occurs).
  • File System IOCs:
    • Unexpected file reads, writes, or deletions in system directories (e.g., C:\Windows, C:\ProgramData).
    • Creation of new files in unusual locations.
  • Log IOCs:
    • Application logs showing file access errors for paths outside the intended directory.
    • Security logs showing failed or successful access to sensitive files (e.g., SAM, SYSTEM, config).

Detection Engineering

YARA Rule

rule Detect_Profisee_Path_Traversal {
    meta:
        description = "Detects path traversal attempts in Profisee logs or payloads"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-6240"
    strings:
        $traversal1 = "..\\" ascii wide nocase
        $traversal2 = "../" ascii wide nocase
        $profisee_path = "Profisee" ascii wide nocase
    condition:
        any of ($traversal*) and $profisee_path
}

Sigma Rule

title: Profisee Path Traversal Attempt
id: 8a9b3c2d-1e5f-4a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects path traversal attempts targeting Profisee filesystem modules
author: Valters IT
date: 2025-04-10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-6240
logsource:
    category: webserver
    product: iis
detection:
    selection:
        cs-uri-query|contains:
            - '..\\'
            - '../'
            - '%2e%2e%2f'
            - '%2e%2e%5c'
    condition: selection
falsepositives:
    - Legitimate use of relative paths in some configurations
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-6240 Profisee Path Traversal Attempt"; flow:to_server,established; content:"..\\"; http_uri; nocase; sid:1000001; rev:1;)
alert http any any -> any any (msg:"CVE-2025-6240 Profisee Path Traversal Attempt"; flow:to_server,established; content:"../"; http_uri; nocase; sid:1000002; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade: Upgrade to Profisee 2024R2 or later, which contains the fix for this vulnerability.
  2. Workaround: If an immediate upgrade is not possible, implement a Web Application Firewall (WAF) rule to block path traversal patterns.
  3. Access Control: Review and restrict file system permissions for the Profisee application service account. Ensure it only has read/write access to the necessary directories.

Long-Term Measures:

  1. Secure Coding: Implement strict input validation and sanitization for all file path inputs. Use allowlists instead of blocklists.
  2. Regular Audits: Conduct regular security audits and penetration testing of the Profisee application.
  3. Patch Management: Establish a process for timely application of security patches.

Valters IT
Securing Your Digital Frontier

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-6240/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.