Skip to main content

WWBN AVideo EUVDEUVD-2026-24288

| CVE-2026-40909 HIGH
Path Traversal (CWE-22)
2026-04-21 GitHub_M GHSA-6rc6-p838-686f
8.7
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.7 HIGH
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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Re-analysis Queued
Apr 21, 2026 - 21:22 vuln.today
cvss_changed
Analysis Generated
Apr 21, 2026 - 20:52 vuln.today
EUVD ID Assigned
Apr 21, 2026 - 20:00 euvd
EUVD-2026-24288
Analysis Generated
Apr 21, 2026 - 20:00 vuln.today
CVE Published
Apr 21, 2026 - 19:54 nvd
HIGH 8.7

DescriptionGitHub 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.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

EUVD-2026-24288 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy