PT-2026-30334 · Packagist · Wwbn Avideo
Published
2026-04-04
·
Updated
2026-04-04
·
CVE-2026-35449
CVSS v3.1
5.3
Medium
| AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Summary
The
install/test.php diagnostic script has its CLI-only access guard disabled by commenting out the die() statement. The script remains accessible via HTTP after installation, exposing video viewer statistics including IP addresses, session IDs, and user agents to unauthenticated visitors.Details
The disabled guard at
install/test.php:5-7:if (!isCommandLineInterface()) {
//return die('Command Line only');
}
The script also enables verbose error reporting:
error reporting(E ALL);
ini set('display errors', '1');
It then queries
VideoStatistic::getLastStatistics() and outputs the result via var dump():$resp = VideoStatistic::getLastStatistics(getVideos id(), User::getId());
var dump($resp);
The
VideoStatistic object contains: ip (viewer IP address), session id, user agent, users id, and JSON metadata. The display errors=1 setting also leaks internal filesystem paths in any PHP warnings.The
install/ directory is not restricted by .htaccess (it only disables directory listing via Options -Indexes) and no web server rules block access to individual PHP files in this directory.Proof of Concept
# Request viewer stats for video ID 1
curl "https://your-avideo-instance.com/install/test.php?videos id=1"
Confirmed accessible on live AVideo instances (HTTP 200).
Impact
Unauthenticated disclosure of viewer IP addresses (PII under GDPR), session identifiers, and user agents. The enabled
display errors also reveals internal server paths on errors.- CWE: CWE-200 (Exposure of Sensitive Information)
- Severity: Low
Recommended Fix
Uncomment the CLI guard at
install/test.php:6 to restore the intended access restriction:if (!isCommandLineInterface()) {
return die('Command Line only');
}
Found by aisafe.io
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Wwbn Avideo