☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-24350

CVE-2025-24350 Path Traversal in Ctrlx
📅 PUBLISHED: 2025-04-30 11:45 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.60%
👁️
0.60% probability
14.9× 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 VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: U Scope Unchanged
C: N Confidentiality None
I: H Integrity High
A: H Availability High
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-24350 is a high-severity vulnerability (CVSS 7.1) in the ctrlX OS web application, specifically within the “Certificates and Keys” functionality. A remote authenticated attacker with low privileges can exploit a path traversal flaw to write arbitrary certificates to arbitrary file system paths via a crafted HTTP request. This can lead to unauthorized certificate injection, potentially enabling man-in-the-middle attacks, service impersonation, or privilege escalation. No public exploit code or patch details are currently available, and the EPSS score is 0.0%, indicating low exploitation likelihood at this time.

⚡ 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

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Attacker needs valid low-privilege credentials.
  • User Interaction (UI): None (N) – No user action needed.
  • Scope (S): Unchanged (U) – Impact confined to the vulnerable component.
  • Confidentiality (C): None (N) – No direct data disclosure.
  • Integrity (I): High (H) – Arbitrary certificate injection compromises trust.
  • Availability (A): High (H) – Could disrupt certificate-based services.

Threat Level: High – Integrity and availability impacts are severe, though authentication is required.

Deep Dive & Mechanics

The vulnerability resides in the “Certificates and Keys” module of ctrlX OS, which handles certificate management for secure communications. The web application fails to properly sanitize user-supplied file paths when processing certificate uploads or writes. A low-privileged attacker can craft an HTTP request containing path traversal sequences (e.g., ../) to write a malicious certificate to an arbitrary location, such as system trust stores, application directories, or configuration files.

Attack Flow:

  1. Authenticate as a low-privileged user to the ctrlX OS web interface.
  2. Intercept the certificate upload request (e.g., POST to /api/certificates/upload).
  3. Modify the filepath parameter to include traversal sequences (e.g., ../../etc/ssl/certs/malicious.crt).
  4. Submit the request with a crafted certificate payload.
  5. The server writes the certificate to the specified path, potentially overwriting trusted certificates.

Impact: An attacker could inject a self-signed or attacker-controlled CA certificate, enabling TLS interception, service impersonation, or bypassing certificate validation for other components.

Vulnerable vs. Patched Code

No patch details are available. The following is a hypothetical vulnerable code pattern based on the CVE description.

Vulnerable Code (Python Flask example):

@app.route('/api/certificates/upload', methods=['POST'])
def upload_certificate():
    cert_data = request.files['certificate']
    filepath = request.form['filepath']  # No sanitization
    with open(filepath, 'wb') as f:
        f.write(cert_data.read())
    return "Certificate uploaded", 200

Patched Code (Hypothetical):

import os
from werkzeug.utils import secure_filename

@app.route('/api/certificates/upload', methods=['POST'])
def upload_certificate():
    cert_data = request.files['certificate']
    filepath = request.form['filepath']
    # Sanitize path to prevent traversal
    safe_path = os.path.normpath('/var/ctrlx/certs/' + filepath)
    if not safe_path.startswith('/var/ctrlx/certs/'):
        return "Invalid path", 400
    filename = secure_filename(os.path.basename(safe_path))
    full_path = os.path.join('/var/ctrlx/certs/', filename)
    with open(full_path, 'wb') as f:
        f.write(cert_data.read())
    return "Certificate uploaded", 200

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Low-privilege credentials for ctrlX OS web interface.
  • Network access to the ctrlX web application (e.g., port 443).

Exploitation Steps:

  1. Log in to the ctrlX web interface.
  2. Use a tool like Burp Suite or curl to craft a malicious request:
    curl -k -X POST https://target-ip/api/certificates/upload \
      -H "Cookie: session=valid_session_cookie" \
      -F "certificate=@malicious.crt" \
      -F "filepath=../../etc/ssl/certs/malicious.crt"
    
  3. Verify the certificate was written by attempting to access a service that uses the trust store.

Expected Outcome: The malicious certificate is placed in the system trust store, allowing the attacker to intercept TLS traffic.

Blue Team (Detection & Response)

Detection:

  • Monitor for unusual file writes to certificate directories (e.g., /etc/ssl/certs/, /var/ctrlx/certs/).
  • Alert on HTTP requests containing path traversal patterns in the filepath parameter.
  • Use file integrity monitoring (FIM) to detect unauthorized changes to certificate stores.

Response:

  1. Isolate the affected system from the network.
  2. Review logs for the attacker’s session and IP address.
  3. Restore legitimate certificates from backup.
  4. Apply vendor patch when available.
  5. Rotate all credentials and certificates.

Indicators of Compromise (IOCs)

  • File Paths: /etc/ssl/certs/malicious.crt, /var/ctrlx/certs/ (unexpected files)
  • Network: HTTP POST requests to /api/certificates/upload with filepath containing ../
  • Logs: Entries showing certificate uploads from low-privilege users to system paths
  • Certificate: Self-signed or untrusted CA certificates in system trust stores

Detection Engineering

YARA Rule

rule CVE_2025_24350_Certificate_Traversal {
    meta:
        description = "Detects path traversal attempts in certificate upload requests to ctrlX OS"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-24350"
    strings:
        $traversal = /\.\.\// nocase
        $cert_ext = ".crt" nocase
        $upload_path = "/api/certificates/upload" nocase
    condition:
        $upload_path and $traversal and $cert_ext
}

Sigma Rule

title: CVE-2025-24350 - Path Traversal in ctrlX OS Certificate Upload
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects HTTP requests with path traversal in certificate uploads to ctrlX OS
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/api/certificates/upload'
        cs-uri-query|contains: 'filepath='
    filter:
        cs-uri-query|contains: 'filepath=../../'
    condition: selection and filter
falsepositives:
    - Legitimate certificate management by administrators
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-24350 - ctrlX OS Certificate Path Traversal"; flow:to_server; http.method; content:"POST"; http.uri; content:"/api/certificates/upload"; http.client_body; content:"filepath"; content:"../"; distance:0; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Restrict access to the ctrlX web interface to trusted networks only.
  2. Implement strict input validation for the filepath parameter (e.g., whitelist allowed directories).
  3. Use a web application firewall (WAF) to block path traversal patterns.
  4. Monitor certificate stores for unauthorized changes.

Long-Term Fix:

  • Apply vendor patch when released (currently UNKNOWN).
  • Upgrade to a patched version of ctrlX OS.
  • Conduct a security audit of the certificate management module.

Workaround:

  • Disable the “Certificates and Keys” functionality if not required.
  • Use network segmentation to limit exposure.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

ctrlX OS
ctrlX web certificates

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-24350/ · 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.