Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise AVideo admin credentials
-
DeliveryAuthenticate to AVideo admin session
-
ExploitPOST crafted updateFile traversal payload to /view/update.php
-
ExecutionPHP file() resolves path outside updatedb/ sandbox
-
PersistWeb server reads arbitrary file from filesystem
-
ImpactFile contents echoed in HTTP response to attacker
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 | Exploitation requires an active AVideo administrator session - the User::isAdmin() and adminSecurityCheck(true) guards at lines 12-15 of view/update.php enforce admin authentication and will reject unauthenticated or lower-privileged requests. Beyond admin credentials, no special configuration is required: the vulnerable code path is active in default AVideo deployments on any version through 29.0 wherever the web server can reach view/update.php. Impact is amplified - but not limited to - misconfigured deployments where the web-server OS user can read files outside the AVideo directory (e.g., /etc/passwd, sibling application .env files). Deployments with PHP open_basedir set to the AVideo root or OS-level chroot/container isolation will limit but not fully eliminate reachable paths. Authentication requirements not confirmed by CVSS vector (not provided), but explicitly enforced in source code per the advisory. |
| Impact | No CVSS vector or score was provided for this CVE, which limits quantitative signal comparison. Based on the description, the attack vector is network (HTTP POST), attack complexity is low (a simple directory traversal string), but privileges required are high (administrator authentication is enforced by User::isAdmin() and adminSecurityCheck(true) at lines 12-15). This admin-only requirement materially reduces the realistic threat surface compared to an unauthenticated variant: exploitation requires either a compromised admin account, a malicious insider, or chaining with a separate authentication bypass. EPSS data is not available. The vulnerability is not in CISA KEV. A working proof-of-concept is publicly documented in the GitHub advisory, lowering the exploitation bar for any attacker who does possess admin credentials. The real-world impact is highest on misconfigured deployments where the web-server process can reach sensitive sibling files (.env, other app configs, /proc/self/environ on Linux) relative to the AVideo root. The absence of any patched release as of version 29.0 means all current deployments remain exposed with no vendor-supplied fix. |
| Exploit ScenarioDerived | An attacker who has obtained AVideo administrator credentials (through phishing, credential reuse, or a separate vulnerability) authenticates to the admin panel and sends a crafted POST request to /view/update.php with the body 'updateFile=../../../../etc/passwd'. The server resolves the path outside the updatedb/ directory, file() reads /etc/passwd line by line, and the migration-runner HTML response echoes each line back to the attacker. On Linux servers, substituting '../../../../proc/self/environ' additionally exposes environment variables including potential database credentials or API keys set in the web-server process environment. A working PoC for this exact sequence is publicly documented in the GitHub Security Advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Authenticated arbitrary file read in WWBN/AVideo's view/update.php exposes any text file readable by the web-server process to admin-level users via path traversal. The $_POST['updateFile'] parameter is concatenated directly into a filesystem path under updatedb/ without sanitization, allowing an authenticated administrator to supply sequences like '../../../../etc/passwd' and have PHP's file() function return the contents line-by-line in the migration-runner HTML response. A proof-of-concept exploit is publicly documented in GitHub Security Advisory GHSA-3mjv-375j-6h92; no patched release has been issued for any version through 29.0 as of analysis time, and no public exploit identified at time of analysis as actively exploited by CISA KEV.
RemediationAI
No vendor-released patch has been identified at time of analysis - the fixed version is listed as None for all affected releases through 29.0. As an immediate compensating control, restrict access to view/update.php at the web server or reverse-proxy layer to prevent any external requests from reaching the endpoint, accepting the trade-off that the migration runner UI will be inaccessible remotely. If the endpoint must remain accessible, apply a PHP-level fix by replacing the unsanitized concatenation with basename($_POST['updateFile']) to strip directory components, and add an in-array whitelist of permitted migration filenames before calling file(). Additionally, ensure the web-server process runs under a minimally privileged OS account with a restricted filesystem chroot or open_basedir PHP directive set to the AVideo root to limit the files reachable even if traversal succeeds. Monitor the GitHub Advisory GHSA-3mjv-375j-6h92 at https://github.com/WWBN/AVideo/security/advisories/GHSA-3mjv-375j-6h92 for patch availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AVideo is an open-source PHP video platform (Composer package wwbn/avideo). The vulnerable endpoint view/update.php is a database migration runner that accepts a filename via POST and uses PHP's native file() function to read and iterate through lines - a pattern designed for loading SQL upgrade scripts from the updatedb/ subdirectory. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, aka Path Traversal) applies because the user-supplied filename is interpolated directly into the path string '{$global["systemRootPath"]}updatedb/{$_POST["updateFile"]}' without invoking basename(), realpath() normalization, an allowlist check, or an extension filter. Since file() accepts any path the OS user can open, relative traversal sequences ('../../../../') escape the intended updatedb/ sandbox. The affected CPE is pkg:composer/wwbn_avideo, confirmed vulnerable through version 29.0.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/WWBN/AVideo) · only source for this CVE.
CVSS VectorVendor: https://github.com/WWBN/AVideo
Lifecycle Timeline
1DescriptionCVE.org
Summary
view/update.php reads $_POST['updateFile'] as a relative path under updatedb/ and passes it to PHP's file() for line-by-line execution as part of a database migration. An authenticated administrator can abuse this to read arbitrary text files reachable from the web-server process - especially valuable on misconfigured deployments where /etc/passwd, .env, or other sibling-app configs are reachable relative to the AVideo directory.
Details
view/update.php, lines 134-145 (excerpt):
if (!empty($_POST['updateFile'])) { $dir = Video::getStoragePath() . "cache"; rrmdir($dir); /* …unrelated cache-clear… */
if (file_exists($logfile . "log")) { unlink($logfile . "log"); // ... } $lines = file("{$global['systemRootPath']}updatedb/{$_POST['updateFile']}"); The User::isAdmin() and adminSecurityCheck(true) guards at lines 12-15 enforce admin auth, but $_POST['updateFile'] is concatenated into a path without any sanitization. file() returns the file's contents as an array of lines; the script subsequently iterates them and echoes the SQL it would run.
PoC
POST /view/update.php Content-Type: application/x-www-form-urlencoded
updateFile=../../../../etc/passwd Result: the script attempts to load /etc/passwd (relative to {systemRootPath}updatedb/), echoing each line in the migration-runner HTML output. $_POST['updateFile'] traversal accepted, no extension guard, no in-array whitelist.
Attempting ../../../../proc/self/environ similarly reveals web-server environment variables on Linux.
Impact
Verified on the current master branch of WWBN/AVideo (commit bc0340662…). Likely affected: every release where view/update.php contains the $_POST['updateFile'] consumer - pattern predates 2024.
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.
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
EUVD-2026-33306
GHSA-3mjv-375j-6h92
NVD
CVE.org
EPSS
Exploit-DB