/

CVE-2026-33038

Severity:

HIGH RISK

(8.1)

Missing Authentication in WWBN AVideo

CVE-2026-33038

Analyzed

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Unauthenticated Application Takeover

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

WWBN AVideo versions 25.0 and below expose an unauthenticated installation endpoint that allows remote users to perform full application initialization.

On uninitialized deployments, an attacker can create the initial admin account and point the platform at an attacker-controlled database, resulting in complete administrative takeover of the instance.

Affected context

This vulnerability affects WWBN AVideo instances that are deployed but not yet fully initialized.

The install/checkConfiguration.php endpoint is reachable over the network and is responsible for first-time setup, including database configuration, admin account creation, and writing the main configuration file.

The only protection in vulnerable versions is a check for the presence of videos/configuration.php; if that file is absent, any remote client can drive the installation process without authentication.

Exploit preconditions

  • Attack surface: Publicly accessible install/checkConfiguration.php endpoint over HTTP/HTTPS
  • Required access: None; no prior authentication or local access is needed
  • Application state: Instance must appear "uninitialized" (e.g., videos/configuration.php does not yet exist or is not recognized)
  • Trigger point: Sending a crafted POST request to install/checkConfiguration.php supplying database parameters, admin credentials, and configuration values
  • Why exploitation is possible: The installation workflow treats any caller as trusted during initialization and does not enforce authentication or a separate shared secret for setup, relying solely on the absence of a configuration file as a guard.

Why this happens

The core issue is a missing authentication control on a sensitive operation, mapping directly to CWE-306: Missing Authentication for Critical Function.

The installation endpoint performs high-privilege actions—database setup, administrator user creation, and configuration file writing—based solely on POST data and a file-existence check.

This design assumes that only a legitimate administrator will access the installer on first run, but does not enforce that assumption via authentication, possession of a setup token, or restricted network access.

As a result, any unauthenticated remote user can initiate and complete the installation workflow on an uninitialized instance, effectively becoming the initial administrator.

Potential impact

  • Remote attacker can register themselves as the first administrator with full control over the application
  • Attacker can configure the platform to use an attacker-controlled database, enabling data tampering and persistent control
  • Complete takeover of video content, user management, and configuration settings
  • Potential use of the compromised instance as a platform for phishing, malware hosting, or abusive content distribution
  • Indirect impact on other integrated systems or services that trust the AVideo instance

General mitigation guidance

Effective mitigation focuses on introducing strong controls around installation and other critical, one-time workflows:

  • Require an installation secret, invitation token, or out-of-band setup key that must be supplied to run the installer.
  • Enforce authentication on installation and reconfiguration endpoints, even during "first run" where possible.
  • Restrict network exposure of installation paths, for example by binding them to internal interfaces, VPNs, or administrative networks only.
  • Implement a more robust initialization state model that cannot be triggered solely by file presence; e.g., store installation state in a protected location and validate it against expected flows.
  • Apply least privilege to configuration files and directories so they cannot be reset or tampered with to simulate an uninitialized state.
  • Provide secure defaults that minimize exposed attack surface during deployment, such as disabling public access until initialization is completed.

How teams detect issues like this

Detection typically involves a combination of code, configuration, and runtime monitoring:

  • Static analysis / code review:
  • Flag endpoints capable of creating admin users, initializing databases, or writing configuration files that lack authentication checks.
  • Review installation and upgrade scripts for any reliance on file-existence checks as the only guard for critical actions.
  • Identify PHP or web routes under /install/ or similar that accept state-changing POST data without session validation or CSRF protections.
  • Configuration and deployment review:
  • Inventory internet-exposed instances and verify that installation endpoints are disabled or removed after setup.
  • Enforce policies that block access to installer paths on production web servers.
  • Runtime monitoring:
  • Monitor web server logs for unexpected access to installation URLs, especially POST requests from untrusted IP ranges.
  • Alert on repeated or late-stage invocations of installation scripts on systems that should already be initialized.
  • Automated security testing tools can be configured to probe for unauthenticated access to known setup and installer endpoints as part of regular assessments.

Sources

SourceLink
github.comgithub.com/WWBN/AVideo/commit/b3fa7869dcb935c8ab5c001a88dc29d2f92cf8e1
github.comgithub.com/WWBN/AVideo/security/advisories/GHSA-2f9h-23f7-8gcx

Frequently asked

questions

Yes. On affected and uninitialized WWBN AVideo instances, any remote user who can reach the install/checkConfiguration.php endpoint can exploit it without prior access, leading to full administrative control.

No. The vulnerable installation endpoint does not require authentication.

The attacker only needs network access to the instance while it is in an "uninitialized" state, as determined by the absence of the configuration file.

The safest pattern is to require strong authentication or a dedicated installation secret for all installation and initialization endpoints, combined with locking or removing those endpoints once setup is complete.

Additionally, avoid relying solely on file existence as a guard and ensure that critical functions like admin creation and configuration changes are always access-controlled.

Design installation flows under the assumption that they may be internet-exposed and hostile users will attempt to trigger them.

Require explicit, verifiable proof of authorization (authentication, setup tokens, or restricted network access) before performing one-time critical operations.

Incorporate checks for exposed installer scripts into deployment pipelines and routinely scan production environments for leftover setup endpoints.

Find out what's already
exploitable in your codebase.