Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Lifecycle Timeline
5DescriptionGitHub Advisory
WWBN AVideo is an open source video platform. In versions 29.0 and prior, the locale save endpoint (locale/save.php) constructs a file path by directly concatenating $_POST['flag'] into the path at line 30 without any sanitization. The $_POST['code'] parameter is then written verbatim to that path via fwrite() at line 40. An admin attacker (or any user who can CSRF an admin, since no CSRF token is checked and cookies use SameSite=None) can traverse out of the locale/ directory and write arbitrary .php files to any writable location on the filesystem, achieving Remote Code Execution. Commit 57f89ffbc27d37c9d9dd727212334846e78ac21a fixes the issue.
AnalysisAI
Path traversal in WWBN AVideo 29.0 and earlier allows authenticated administrators (or CSRF-tricked admins) to write arbitrary PHP files anywhere on the server filesystem, achieving remote code execution. The locale save endpoint fails to sanitize the 'flag' parameter used in file path construction and lacks CSRF protection despite SameSite=None cookies, enabling straightforward exploitation by lower-privilege attackers who chain CSRF against admin sessions. Upstream fix committed to GitHub (57f89ffb) but released patched version not independently confirmed. CVSS 8.7 reflects high impact but requires privileged access - real-world risk depends heavily on admin session hijacking opportunities.
Technical ContextAI
The vulnerability exists in the locale/save.php endpoint of WWBN AVideo, an open-source video streaming platform written in PHP. The code directly concatenates unsanitized user input from $_POST['flag'] into a file path construction (line 30), then writes arbitrary content from $_POST['code'] to that path via fwrite() (line 40). This constitutes a classic CWE-22 (Path Traversal) weakness that escalates to arbitrary file write. The absence of CSRF token validation combined with SameSite=None cookie attributes creates a CSRF exposure, allowing attackers to exploit this via cross-site requests against authenticated admin sessions. The affected product is identified by CPE cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:* covering all versions through 29.0. PHP's fwrite() function will create executable .php files with attacker-controlled content at traversal-specified locations, enabling immediate code execution when accessed via web request.
RemediationAI
Apply the upstream fix by updating to a version incorporating commit 57f89ffbc27d37c9d9dd727212334846e78ac21a, available at https://github.com/WWBN/AVideo/commit/57f89ffbc27d37c9d9dd727212334846e78ac21a. Note that a vendor-tagged release version incorporating this fix is not independently confirmed at time of analysis - verify current version status with WWBN project before deployment. If immediate patching is not feasible, implement compensating controls: restrict access to locale/save.php to localhost-only via web server configuration (e.g., Apache 'Require ip 127.0.0.1' or nginx 'allow 127.0.0.1; deny all;'), recognizing this breaks remote administration workflows. Alternatively, implement application firewall rules blocking requests with '../' or absolute path characters in the 'flag' parameter, though this may be bypassable via URL encoding. Deploy CSRF tokens site-wide and change cookie SameSite attribute from None to Strict, accepting that this breaks legitimate cross-origin admin workflows. Monitor web server logs for POST requests to locale/save.php with unusual 'flag' values or from unexpected source IPs.
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
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
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-24288
GHSA-6rc6-p838-686f