Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed AVideo host
-
DeliverySend GET /.env over HTTP
-
ExploitReceive plaintext secrets
-
ExecutionAuthenticate to admin panel with SYSTEM_ADMIN_PASSWORD
-
PersistConnect to MySQL with leaked DB credentials
-
ImpactExfiltrate user data and pivot within Docker subnet
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the target AVideo instance was deployed using the project's official docker-compose.yml (which bind-mounts ./ to /var/www/html/AVideo) with default Apache configuration and an unmodified pre-29.0 .htaccess, and that the Apache HTTP(S) port is reachable by the attacker. No authentication, user interaction, or special privileges are needed - a single unauthenticated GET /.env suffices. Exploitation is limited where operators deploy AVideo via other means (manual install, bare-metal LAMP, custom Compose file that mounts only the public/ subdirectory), have already added a dotfile-deny rule, or have moved the .env file outside the document root. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (7.5 High) accurately reflects trivial unauthenticated remote retrieval of confidential data with no integrity or availability impact, and the description fully supports it: a single GET /.env returns secrets. EPSS and CISA KEV data were not provided, and no public exploit identified at time of analysis, but the attack is so low-complexity that opportunistic scanners commonly automate /.env probing across the internet, so realistic exploitation likelihood is materially higher than absence of a published PoC suggests. The disclosed material - DB credentials, SYSTEM_ADMIN_PASSWORD, TLS key paths, and the Docker subnet - directly enables follow-on database compromise and admin panel takeover, so this should be treated as a high priority for any AVideo operator using the official Docker image, even though only confidentiality is rated High. |
| Exploit ScenarioDerived | An opportunistic scanner probes internet-exposed AVideo instances with GET /.env and immediately receives plaintext database credentials, the system admin password (default admin123 in the example deployment), and the internal Docker subnet. The attacker logs into the AVideo admin panel with the recovered SYSTEM_ADMIN_PASSWORD and, if the database port is reachable, connects directly to MySQL using DB_MYSQL_USER / DB_MYSQL_PASSWORD to exfiltrate or modify user data. Reproduction requires only curl and is described step-by-step in the public GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Unauthenticated information disclosure in WWBN AVideo (versions prior to 29.0) deployed via the official docker-compose.yml exposes the application's .env file at /.env, leaking database credentials, the SYSTEM_ADMIN_PASSWORD, and internal Docker network topology. The default Apache document root mount lacks any rule blocking dotfile access, so a single curl request to /.env returns plaintext secrets. No public exploit identified at time of analysis, though reproduction is trivial against any default Docker deployment.
RemediationAI
Vendor-released patch: upgrade to AVideo 29.0 or later, which adds a RewriteRule in .htaccess blocking any path component beginning with a dot (except /.well-known/) per commit 7f418de1a95ab87bb8c8c3eb3702d71c351e098d. Operators who cannot upgrade immediately should manually add the same rule (RewriteRule "(^|/)\.(?!well-known(?:/|$))" - [F,L,NC]) or a FilesMatch "^\." Deny block to their Apache configuration; this safely blocks .env, .git, and other dotfile exposure but will also break ACME http-01 challenges if the well-known exception is omitted. As an additional hardening step, rotate the leaked DB_MYSQL_PASSWORD and SYSTEM_ADMIN_PASSWORD, move the .env outside the document root, and restrict the docker-compose volume mount to only the public web subdirectory rather than the project root. See https://github.com/WWBN/AVideo/security/advisories/GHSA-wf69-r4mx-43rr for the full advisory.
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 streaming platform (composer package wwbn/avideo) shipped with an official Docker Compose stack that bind-mounts the project root (./) to /var/www/html/AVideo as the Apache DocumentRoot. The .env file co-located in the project root therefore becomes a static asset served by Apache, and the shipped .htaccess lacked any FilesMatch or RewriteRule directive denying access to hidden files. While the NVD CWE is listed as CWE-20, the GHSA advisory more accurately classifies this as CWE-538 (Insertion of Sensitive Information into Externally-Accessible File or Directory), a classic deployment-configuration exposure pattern compounded by storing production secrets in a web-served directory.
Know when Docker 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated remote HTTP GET against default Docker deployment retrieves secrets - AV:N/AC:L/PR:N/UI:N; high confidentiality loss only, no integrity or availability impact.
Primary rating from Vendor (https://github.com/WWBN/AVideo).
CVSS VectorVendor: https://github.com/WWBN/AVideo
DescriptionCVE.org
Vulnerability Details
CWE: CWE-538 - Insertion of Sensitive Information into Externally-Accessible File or Directory
The official docker-compose.yml (line 61) mounts the entire project root directory as the Apache document root:
volumes:
- "./:/var/www/html/AVideo"This causes the .env file - which contains database credentials, admin passwords, and infrastructure configuration - to be served as a static file at /.env. No .htaccess rule or Apache configuration blocks access to dotfiles.
Exposed Information
An unauthenticated request to GET /.env returns:
DB_MYSQL_HOST=database
DB_MYSQL_USER=avideo
DB_MYSQL_PASSWORD=avideo
SYSTEM_ADMIN_PASSWORD=admin123
TLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt
TLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key
NETWORK_SUBNET=172.30.0.0/16Steps to Reproduce
Prerequisites
- AVideo deployed using the official
docker-compose.yml - No modifications to the default configuration
Steps
- Deploy AVideo using
docker compose up -d - Send:
curl http://target/.env - The full
.envfile contents are returned, including database credentials and admin password
Impact
- Attacker: Unauthenticated (any remote user)
- Victim: AVideo server and database
- Specific damage: Attacker obtains database credentials (
DB_MYSQL_USER,DB_MYSQL_PASSWORD), admin password (SYSTEM_ADMIN_PASSWORD), and internal network topology (NETWORK_SUBNET). This enables direct database access, admin panel takeover, and further lateral movement within the Docker network.
Proposed Fix
Add a .htaccess rule to block access to dotfiles:
# Block access to hidden files (.env, .git, etc.)
<FilesMatch "^\.">
Order Allow,Deny
Deny from all
</FilesMatch>Or configure Apache to deny dotfile access in the virtual host configuration.
Articles & Coverage 1
Executive ViewAI
WWBN AVideo versions prior to 29.0 deployed via Docker expose critical credentials-including database and administrator passwords-through an unauthenticated file disclosure vulnerability. Any organization using affected deployments faces immediate risk of complete system compromise. Exploitation is trivial, requiring only a single HTTP request.
Apply vendor patch (WWBN AVideo version 29.0 or later). Interim mitigations: Implement network segmentation to restrict external access, deploy WAF rules to block /.env requests, and immediately rotate all exposed credentials.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-45037
GHSA-wf69-r4mx-43rr
NVD
CVE.org
EPSS
Exploit-DB