{"id":"CVE-2026-33692","aliases":["CVE-2026-33692","GHSA-wf69-r4mx-43rr"],"related":[],"kind":"vulnerability","state":"published","title":"AVideo Has Unauthenticated .env File Exposure via Official Docker Compose Configuration","summary":"WWBN AVideo is an open source video platform. Versions prior to 29.0 expose .env files to unauthenticated users through the official Docker compose configuration. The official docker-compose.yml mounts the entire project root directory as the Apache document root, causing  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. Exploitation enables direct database access, admin panel takeover, and further lateral movement within the Docker network. This issue has been resolved in version 29.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"WWBN AVideo is an open source video platform. Versions prior to 29.0 expose .env files to unauthenticated users through the official Docker compose configuration. The official docker-compose.yml mounts the entire project root directory as the Apache document root, causing  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. Exploitation enables direct database access, admin panel takeover, and further lateral movement within the Docker network. This issue has been resolved in version 29.0.","source":"cvelist"},{"lang":"en","text":"## Vulnerability Details\n\n**CWE**: CWE-538 - Insertion of Sensitive Information into Externally-Accessible File or Directory\n\nThe official `docker-compose.yml` (line 61) mounts the entire project root directory as the Apache document root:\n\n```yaml\nvolumes:\n  - \"./:/var/www/html/AVideo\"\n```\n\nThis 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.\n\n### Exposed Information\n\nAn unauthenticated request to `GET /.env` returns:\n\n```\nDB_MYSQL_HOST=database\nDB_MYSQL_USER=avideo\nDB_MYSQL_PASSWORD=avideo\nSYSTEM_ADMIN_PASSWORD=admin123\nTLS_CERTIFICATE_FILE=/etc/apache2/ssl/localhost.crt\nTLS_CERTIFICATE_KEY=/etc/apache2/ssl/localhost.key\nNETWORK_SUBNET=172.30.0.0/16\n```\n\n## Steps to Reproduce\n\n### Prerequisites\n- AVideo deployed using the official `docker-compose.yml`\n- No modifications to the default configuration\n\n### Steps\n1. Deploy AVideo using `docker compose up -d`\n2. Send: `curl http://target/.env`\n3. The full `.env` file contents are returned, including database credentials and admin password\n\n## Impact\n\n- **Attacker**: Unauthenticated (any remote user)\n- **Victim**: AVideo server and database\n- **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.\n\n## Proposed Fix\n\nAdd a `.htaccess` rule to block access to dotfiles:\n\n```apache\n# Block access to hidden files (.env, .git, etc.)\n<FilesMatch \"^\\.\">\n    Order Allow,Deny\n    Deny from all\n</FilesMatch>\n```\n\nOr configure Apache to deny dotfile access in the virtual host configuration.","format":"markdown","source":"ghsa"},{"lang":"es","text":"WWBN AVideo es una plataforma de video de código abierto. Las versiones anteriores a la 29.0 exponen los archivos .env a usuarios no autenticados a través de la configuración oficial de Docker compose. El archivo oficial docker-compose.yml monta el directorio raíz completo del proyecto como la raíz de documentos de Apache, lo que provoca que el archivo .env - que contiene credenciales de base de datos, contraseñas de administrador y configuración de infraestructura - se sirva como un archivo estático en /.env. Ninguna regla .htaccess o configuración de Apache bloquea el acceso a los dotfiles. La explotación permite el acceso directo a la base de datos, la toma de control del panel de administración y un mayor movimiento lateral dentro de la red Docker. Este problema ha sido resuelto en la versión 29.0.","source":"nvd"}],"published":"2026-06-22T19:54:15.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 29.0","status":"affected"}],"vendor":"WWBN","product":"AVideo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"29.0"}],"ecosystem":"Packagist","package":"wwbn/avideo","purl":"pkg:composer/wwbn/avideo","source":"ghsa"}],"references":[{"url":"https://github.com/WWBN/AVideo/security/advisories/GHSA-wf69-r4mx-43rr","tags":["exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/WWBN/AVideo/commit/7f418de1a95ab87bb8c8c3eb3702d71c351e098d","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/WWBN/AVideo","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-07-17T13:22:51.308Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33692","url":"https://www.cve.org/CVERecord?id=CVE-2026-33692","licence":"CVE Terms of Use","modified":"2026-07-17T13:22:54.547Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wf69-r4mx-43rr","url":"https://github.com/advisories/GHSA-wf69-r4mx-43rr","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:09.683Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33692","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33692","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.434Z","epss":{"score":0.00347,"percentile":0.30326,"date":"2026-12-01T12:00:22.000Z"}}