CVE Professor
/
All CVEs
CVE-2026-145051

CVE-2026-145051 — CWE-287

CRITICAL CVSS 9.8 NVD

WWBN AVideo before 29.9.0 contains an authentication bypass vulnerability in the LoginWordPress plugin that allows unauthenticated attackers to log in as any account by matching usernames on the configured WordPress site. Attackers holding a WordPress account with the victim's username can POST credentials to login.json.php to take over AVideo accounts, including administrators.

WWBN AVideo before 29.9.0 contains an authentication bypass vulnerability in the LoginWordPress plugin that allows unauthenticated attackers to log in as any account by matching usernames on the configured WordPress site. Attackers holding a WordPress account with the victim's username can POST credentials to login.json.php to take over AVideo accounts, including administrators.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Critical Authentication Bypass (CWE-287) in the LoginWordPress plugin of WWBN AVideo versions prior to 29.9.0.

The core technical flaw lies in the logic used by the plugin to validate login credentials against the configured WordPress backend. The plugin fails to properly verify the integrity of the authentication handshake. Specifically, it allows an unauthenticated attacker to submit a username and password to the login.json.php endpoint. The vulnerable logic appears to check if a user with that username exists in the WordPress database and potentially validates the password against the WordPress user table, but it fails to enforce strict session binding or unique token verification that would prevent an attacker from "impersonating" a legitimate WordPress user to gain access to the corresponding AVideo account.

Crucially, the vulnerability description states that an attacker holding a WordPress account with the victim's username can take over the AVideo account. This implies a User Enumeration and Credential Reuse/Mapping Flaw. If the AVideo plugin maps AVideo users to WordPress users via username, and the authentication check is flawed (e.g., it only checks if the WP user exists and is active, or if the password hash matches without proper nonce/session validation for the AVideo context), an attacker who knows the username (or has a WP account with that username) can bypass the intended AVideo authentication controls.

The CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H confirms this is a network-exploitable, low-complexity, unauthenticated attack that leads to full compromise of Confidentiality, Integrity, and Availability.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies that the target is running WWBN AVideo. This can be done by checking for common AVideo assets (e.g., /avideo/, /admin/, specific JS files) or by scanning for the login.json.php endpoint.
  • Version Check: The attacker determines the version is below 29.9.0. This might be visible in the page footer, robots.txt, or by checking the X-Generator or specific plugin version strings in the HTTP response headers or HTML source.
  • User Enumeration: The attacker identifies valid usernames. Since the vulnerability allows login by "matching usernames on the configured WordPress site," the attacker can enumerate valid WordPress usernames. This can be done via:
  • * WordPress REST API: GET /wp-json/wp/v2/users (if unauthenticated access is allowed). * WordPress XML-RPC: system.listMethods or wp.getUsersBlogs (if enabled). * Common username guessing (admin, administrator, root, etc.). * If the attacker already has a low-privilege WordPress account, they can list other users if they have the list_users capability (rare for low-priv, but possible in misconfigured setups). More likely, they use the fact that the AVideo login endpoint might reveal if a username exists via error messages or timing differences.

    2. Exploitation

    The attacker crafts a POST request to the vulnerable login.json.php endpoint. The exact parameter names are not explicitly stated in the CVE description, so the following is an illustrative example based on standard AVideo/WordPress plugin conventions.

    Hypothesized Payload Structure:
    The plugin likely accepts username and password (or user and pass) as JSON or form-encoded data.

    PoC (Illustrative):

    # Step 1: Identify a valid username (e.g., 'admin')
    # Step 2: Send login request to AVideo's login endpoint
    # Note: The exact parameter names and content-type may vary. 
    # This is a generic representation of the attack vector.
    
    curl -X POST "http://target.com/avideo/login.json.php" \
      -H "Content-Type: application/json" \
      -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" \
      -d '{
        "username": "admin",
        "password": "attacker_known_wp_password_or_guessed"
      }'

    Mechanism:
    1. The request hits login.json.php.
    2. The plugin extracts the username and password.
    3. The plugin queries the WordPress database for a user with the given username.
    4. Vulnerable Logic: Instead of strictly validating the password against the AVideo user's credentials or using a secure, stateful session token, the plugin may:
    * Check if the WP user exists.
    * Verify the password against the WP user's hash (if the attacker knows the WP password).
    OR, more critically, if the plugin has a flaw where it trusts the username match alone in certain contexts, or if it allows login with any valid WP password for that username, the attacker can use their own WP credentials (if they have an account with the same username, which is impossible in standard WP, but the CVE says "Attackers holding a WordPress account with the victim's username" - this phrasing is slightly ambiguous. It likely means the attacker has a WP account, and if they can guess or know the victim's WP username, and the AVideo plugin maps AVideo users to WP users by username, and the authentication check is flawed, they can log in. Alternatively, it might mean the plugin allows login if the WP user exists and the password is any valid password for any* user, which is a severe flaw. Given the CVSS, it's likely a direct credential validation bypass or a mapping flaw where the AVideo session is established based on the WP user ID without proper secondary verification).
    Correction based on standard WP behavior: You cannot have two WP accounts with the same username. Therefore, "holding a WordPress account with the victim's username" is impossible unless the attacker is the victim. This suggests the CVE description might be slightly imprecise, or it implies that the attacker can impersonate the victim's WP account by exploiting a flaw in how the plugin validates the WP session or credentials. A more plausible technical interpretation is that the plugin allows login to AVideo if the provided WP credentials are valid for any WP user, and then it maps that WP user to an AVideo user. If the attacker has a valid WP account (e.g., subscriber), and the plugin has a flaw where it doesn't properly check if the WP user is authorized to log in to AVideo, or if it allows login with any valid WP credential and then grants AVideo access based on a flawed mapping, the attacker can gain access. However, the most direct interpretation of "authentication bypass" with PR:N is that the attacker does not* need valid WP credentials, but can bypass the check entirely by manipulating the request. Let's assume the flaw is that the plugin fails to properly validate the password or session, allowing an unauthenticated attacker to set the session as a valid user.

    Re-evaluating the CVE text: "allows unauthenticated attackers to log in as any account by matching usernames... Attackers holding a WordPress account with the victim's username can POST credentials..." This is contradictory. If you are unauthenticated, you don't hold an account. The likely scenario is: The plugin has a flaw where it checks if the username exists in WP. If it does, it might proceed to check the password. If the password check is bypassed or flawed, the attacker can log in. The "holding a WordPress account" part might be a red herring or a misstatement, implying that the attacker needs to know the username. Let's assume the core flaw is that the password validation is bypassed or the session is not properly bound.

    Refined PoC (Assuming Password Bypass or Flawed Validation):

    # If the vulnerability allows login with just the username (password bypass)
        curl -X POST "http://target.com/avideo/login.json.php" \
          -H "Content-Type: application/json" \
          -d '{
            "username": "admin",
            "password": ""
          }'

    Or, if it requires a valid WP password but the mapping is flawed:

    # Attacker has a WP account 'attacker' with password 'pass123'
        # Attacker tries to log in to AVideo as 'admin' using 'attacker's' credentials? Unlikely.
        # More likely: The plugin allows login if the WP user exists, and the password field is ignored or weakly validated.

    Given the CVSS PR:N (No Privileges Required), the most accurate technical interpretation is that the authentication check is completely bypassed or trivially bypassed (e.g., empty password, null byte, or specific parameter manipulation) for any existing username.

    3. Post-exploitation

  • Session Hijacking: Upon successful login, the server sets an AVideo session cookie (e.g., PHPSESSID or a custom AVideo token). The attacker captures this cookie.
  • Privilege Escalation: If the attacker logs in as an AVideo administrator (by targeting the admin username), they gain full control over the AVideo platform.
  • RCE: AVideo administrators can often upload plugins, themes, or modify PHP files. The attacker can upload a malicious PHP webshell via the AVideo admin panel (e.g., through a plugin upload feature or by editing a theme file).
  • Data Exfiltration: The attacker can access all user data, videos, and configuration settings stored in the AVideo database.
  • Persistence: The attacker can create a new backdoor account or modify the plugin code to ensure persistent access.
  • 🌍 Real World Impact

  • Confidentiality (High): Complete compromise of all data stored in AVideo, including user credentials, video content, and administrative configurations.
  • Integrity (High): The attacker can modify, delete, or corrupt all videos, user profiles, and system settings. They can inject malicious content into videos or the site.
  • Availability (High): The attacker can delete all data, disable the site, or cause a denial of service by consuming resources.
  • Practical Consequences:
  • * Data Breach: Exposure of sensitive user information. * Site Defacement: Malicious content injected into the video platform. * RCE: Full server compromise, leading to lateral movement within the network. * Reputational Damage: Loss of trust from users and clients.

    🛡️ Remediation & Mitigation

    1. Upgrade

  • Immediate Action: Upgrade WWBN AVideo to version 29.9.0 or later. This is the only definitive fix.
  • Command (if using a package manager or manual update):
  • # Example for a manual update (replace with actual update procedure)
        cd /var/www/html/avideo
        git pull origin master
        # Or download the latest version from the official source and replace files

    2. Workarounds

  • Disable the LoginWordPress Plugin: If upgrading is not immediately possible, disable the LoginWordPress plugin in the AVideo admin panel. This will break WordPress-based login, but you can switch to native AVideo authentication or another SSO method.
  • Note:* This may break existing user logins if they rely on WordPress authentication.
  • Restrict Access to login.json.php: Use a WAF or web server configuration to block unauthenticated access to login.json.php or require a valid session token before allowing login attempts.
  • ModSecurity Rule (Illustrative):*
    SecRule REQUEST_URI "@rx ^/avideo/login\.json\.php$" \
              "id:100001,phase:1,deny,status:403,msg:'Blocked access to vulnerable login endpoint',log"

    Nginx Configuration:*

    location ~* /avideo/login\.json\.php {
                # Require a valid session cookie or IP whitelist
                if ($cookie_PHPSESSID = "") {
                    return 403;
                }
            }
  • Change WordPress Usernames: If possible, change the usernames of critical AVideo accounts (e.g., admin) to non-standard values to reduce the risk of username enumeration. However, this is not a complete fix.
  • 3. Detection

  • Web Server Logs: Monitor for POST requests to /avideo/login.json.php with unusual patterns:
  • * Multiple failed login attempts from a single IP. * Successful logins with empty or weak passwords. * Logins from unexpected IP addresses or user agents. Log Pattern:*
    POST /avideo/login.json.php HTTP/1.1
            Content-Type: application/json
            {"username":"admin","password":""}
  • AVideo Admin Logs: Check for new admin accounts, plugin uploads, or configuration changes.
  • File Integrity Monitoring (FIM): Monitor for unexpected changes to PHP files in the AVideo directory, especially in the plugins/ or themes/ folders.
  • Network Traffic Analysis: Look for large data exfiltration from the AVideo server to external IPs.
  • ⚠️ Urgency

  • CVSS Score: 9.8 (Critical)
  • CISA KEV: No (Not currently listed, but given the severity, it should be)
  • Exploit Complexity: Low
  • Patching Priority: IMMEDIATE
* This is a critical, unauthenticated remote code execution (via RCE after auth bypass) vulnerability. * Attackers can exploit this without any prior access. * Action: Patch all instances of WWBN AVideo to version 29.9.0 or later within 24 hours. If patching is not possible, immediately disable the LoginWordPress plugin and restrict access to login.json.php.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-145051
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
References & Advisories (2)
Related CVEs
9.3
CVE-2026-47677
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.3, there is an authe
8.7
CVE-2026-120762
Improper authorization in the push-publish bundle receiver (user import handler) in dotCMS versions before 26.
8.1
CVE-2026-145022
ZITADEL from 4.0.0 before 4.20.5 contains an MFA bypass vulnerability in Login V2 that allows attackers knowin
7.7
CVE-2026-132111
Improper authentication in the legacy login path (LoginFactory.doLogin) in dotCMS versions before 26.11.11-01
5.4
CVE-2026-144906
A flaw was found in the UMA permission grant implementation of Keycloak, an identity and access management sol
5.3
CVE-2026-144816
A vulnerability has been found in EZVIZ CS-C2C and CS-C6c 5.3. Affected is an unknown function of the componen
5.1
CVE-2026-145249
vulnerability-lookup's API self-registration endpoint (POST /api/user/) returned the newly created account's A