Skip to main content

AVideo CVE-2026-43875

MEDIUM
Use of GET Request Method With Sensitive Query Strings (CWE-598)
2026-05-05 https://github.com/WWBN/AVideo GHSA-5w8w-26ch-v5cw
6.8
CVSS 3.1 · Vendor: https://github.com/WWBN/AVideo
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Victim initiates OAuth flow
  2. Delivery
    Server generates hash redirect
  3. Exploit
    Hash written to logs/history
  4. Install
    Attacker captures hash
  5. C2
    Attacker replays hash with encodedPass=1
  6. Execute
    Server grants session
  7. Impact
    Account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V4 - API and Web Service Sensitive data in POST not GET
Exploitation Conditions

The MobileManager plugin must be enabled and at least one OAuth provider (Google, Facebook, etc., via LoginGoogle, LoginFacebook, or similar) must be configured with valid API keys-both are common in production for supporting mobile apps and federated login. The victim must actively initiate an OAuth flow by visiting /plugin/MobileManager/oauth2.php?type=[Provider] and authorizing at the external provider; the vulnerability cannot be triggered remotely without user interaction. The attacker must then obtain the redirect URL containing the password hash from one of several persistent storage or transmission vectors: web server access logs, upstream proxy/CDN/WAF logs, APM/monitoring platform logs (Sentry, Datadog, New Relic if configured to capture URLs), the victim's local browser history, or the Referer header sent by the victim's browser on subsequent navigation if the page loads external content and Referrer-Policy is not strictly enforced. No CSRF token or rate-limiting blocks the replay of the captured hash to /objects/login.json.php?encodedPass=1. The hash remains valid indefinitely until the victim changes their password, so the window for exploitation is not time-limited.

Impact

This vulnerability presents high real-world risk despite the CVSS score of 6.8 (AC:H reflects the requirement for user interaction to initiate OAuth, and UI:R indicates the victim must click the OAuth flow). The signals align to indicate material danger: (1) CVSS vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N) confirms network vector with no privilege requirement, but AC:H and UI:R correctly capture that an attacker cannot exploit without the victim initiating the OAuth dance; (2) the vulnerability is not authenticated (PR:N), meaning once the hash is captured, login succeeds on first attempt with no rate-limiting or CSRF protection; (3) the patch is confirmed released, but affected versions (<= 29.0) likely represent the vast majority of deployed instances still on older versions; (4) the exposure surface is unusually broad-server logs, CDN logs, APM platforms, browser history, and Referer leakage mean a single OAuth login creates multiple persistent windows for credential capture; (5) the hash is permanent until the victim changes their password, converting a one-time capture event into an indefinite account compromise. The AC:H rating would normally lower priority, but it is offset by the fact that OAuth flows are user-initiated during normal account onboarding-any user adopting mobile or federated login exposes themselves. For admin users, this is critical severity. Missing data: no public proof-of-concept code repository has been confirmed (only the inline PoC in the advisory itself), and no CISA KEV listing or active-exploitation reports are present in the provided data, suggesting this is pre-disclosure or very recent disclosure.

Exploit ScenarioDerived

A victim with an AVideo account initiates mobile OAuth login via Google by accessing /plugin/MobileManager/oauth2.php?type=Google. After approving at Google, the server responds with HTTP 302 Location: oauth2Success.php?user=victim@example.com&pass=9d7ab4...storedHash.... The attacker, who has read-access to the web server's access logs (via a separate vulnerability, misconfiguration, or insider access), extracts the hash value. The attacker then crafts a login request: curl https://target.example.com/objects/login.json.php?user=victim@example.com&pass=9d7ab4...storedHash...&encodedPass=1 and receives a 200 OK response with a valid PHPSESSID cookie, granting full account access. If the victim is an admin, the attacker gains administrative control of the AVideo instance.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 05, 2026

Password hash exposure in AVideo's MobileManager OAuth redirect enables account takeover when unauthenticated attackers capture the redirect URL from server logs, browser history, or referrer leakage, then replay the hash via the login endpoint's encodedPass bypass. The vulnerability affects all users who authenticate through OAuth (Google, etc.) when the MobileManager plugin is enabled, including administrators, and requires only user interaction to trigger the initial OAuth flow-no active exploitation in the wild has been confirmed at analysis time, but a working proof-of-concept exists and patch has been released by the vendor.

RemediationAI

Apply the vendor-released patch from commit 977cd6930a97571a26da4239e25c8096dd4ecbc1, which eliminates the query-string credential transmission by establishing the session server-side via $userObject->login(true) before the redirect and removing the pass parameter from the Location header. This mirrors the safer pattern already implemented in the web-flow login path. If you cannot immediately patch, disable the MobileManager plugin entirely (impacts mobile app and federated login) or restrict access to /plugin/MobileManager/oauth2.php via network ACL or authentication gateway. Additionally, configure your web server to exclude query strings from access logs (e.g., Apache LogFormat without ? or use mod_logio to log only URI path) and ensure oauth2Success.php sets the HTTP header Referrer-Policy: no-referrer to prevent hash leakage via Referer on subsequent navigation. Review access logs and CDN/WAF/APM logs from the past 90 days for any oauth2Success.php requests with pass= parameters and treat those hashes as compromised-force password resets for affected users. Investigate whether any external domains are loaded by oauth2Success.php that could trigger Referer leakage.

Affected Packages

composer wwbn/avideo no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AVideo is a video streaming and management platform written in PHP. The vulnerability chains two distinct design flaws: (1) the MobileManager OAuth callback handler (plugin/MobileManager/oauth2.php) transmits the user's raw database password hash as a query-string parameter in an HTTP 302 redirect (CWE-598: Use of GET Request with Sensitive Query Strings), and (2) the login endpoint (objects/login.json.php) accepts an encodedPass=1 flag that bypasses the normal password hashing pipeline and performs direct string comparison between the supplied value and the stored hash via encryptPasswordVerify() in objects/functions.php. The password hash scheme is md5(hash('whirlpool', sha1(password))), a legacy multi-round scheme. When encodedPass is truthy, the function skips hashing and treats the input as pre-hashed, effectively making the stored database hash a valid login credential if captured. Query-string parameters are automatically logged by web servers (Apache, nginx in combined/main formats), proxies, CDNs, WAFs, and APM tools (Sentry, Datadog, New Relic defaults), plus persisted in browser history and transmitted in Referer headers.

Know when PHP 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

Vendor (https://github.com/WWBN/AVideo) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Primary rating from Vendor (https://github.com/WWBN/AVideo) · only source for this CVE.

CVSS VectorVendor: https://github.com/WWBN/AVideo

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

Summary

plugin/MobileManager/oauth2.php completes an OAuth login by sending an HTTP 302 Location: oauth2Success.php?user=<email>&pass=<HASH> where <HASH> is the victim's stored password hash (md5(hash("whirlpool", sha1(password)))) read directly from the users table. AVideo's own login endpoint (objects/login.json.php) accepts an encodedPass=1 flag that bypasses hashing and performs a direct string comparison between the supplied value and the stored hash. Anyone who captures the redirect URL - via server logs, referrer leakage, or browser history - therefore obtains a credential equivalent to the plaintext password and can fully take over the account, including admin accounts.

Details

Sink: hash inlined in a GET redirect

plugin/MobileManager/oauth2.php:98-102:

php
$pass = rand();
$users_id = User::createUserIfNotExists($user, $pass, $name, $email, $photoURL);
$adapter->disconnect();
$userObject = new User($users_id);
header("Location: oauth2Success.php?user=" . $userObject->getUser() . "&pass=" . $userObject->getPassword());

$userObject->getPassword() returns the raw database column (objects/user.php:159-162):

php
public function getPassword()
{
    return strip_tags($this->password);
}

The returned value is the stored password hash for the account (existing or freshly-created). It is transported to the browser as a query-string parameter in the Location: header, so it is written to:

  • Web-server access logs (combined / main log formats record the full request line including query string).
  • Upstream proxy / CDN / WAF logs.
  • Any error monitoring / APM that captures request URLs (Sentry, Datadog, New Relic defaults).
  • The victim's browser history (persistent local artifact).
  • The Referer header on subsequent navigation from the rendered oauth2Success.php page if the page or its assets load any external origin and the browser's Referrer-Policy is not strict.

Hash equals plaintext for login

objects/login.json.php:182-209:

php
if (!empty($_GET['user'])) {
    $_POST['user'] = $_GET['user'];
}
if (!empty($_GET['pass'])) {
    $_POST['pass'] = $_GET['pass'];
}
if (!empty($_GET['encodedPass'])) {
    $_POST['encodedPass'] = $_GET['encodedPass'];
}
...
$user = new User(0, $_POST['user'], $_POST['pass']);
...
$resp = $user->login(false, @$_POST['encodedPass']);

objects/user.php:1272-1279 passes $encodedPass to find():

php
if (strtolower($encodedPass) === 'false') {
    $encodedPass = false;
}
...
$user = $this->find($this->user, $this->password, true, $encodedPass);

objects/user.php:1785-1794:

php
if ($pass !== false) {
    if (!encryptPasswordVerify($pass, $result['password'], $encodedPass)) {
        ...
        return false;
    }
}

objects/functions.php:2312-2331:

php
function encryptPasswordVerify(#[\SensitiveParameter] $password, $hash, $encodedPass = false)
{
    global $advancedCustom, $global;
    if (!$encodedPass || $encodedPass === 'false') {
        $passwordSalted  = encryptPassword($password);
        $passwordUnSalted = encryptPassword($password, true);
    } else {
        $passwordSalted  = $password;   // <- direct use, no hashing
        $passwordUnSalted = $password;
    }
    $isValid = $passwordSalted === $hash || $passwordUnSalted === $hash;
    ...
}

When encodedPass is truthy, the supplied value is compared as-is against the stored hash. The captured redirect parameter pass=<HASH> is therefore a valid login credential when replayed with encodedPass=1.

Compounding factors

  • The redirect is a raw Location: (GET), not a POST - the secret is placed in a URL which is by definition non-confidential transport.
  • No CSRF token, no state parameter tied to the session, and no single-use token is used on /plugin/MobileManager/oauth2.php.
  • login.json.php does not require a CSRF token or captcha on the first attempt (checkLoginAttempts() at objects/user.php:1282 only rate-limits after failures, and the attacker succeeds on the first try).
  • By contrast, the non-plugin flow in objects/login.json.php:144-145 already sets session state server-side ($userObject->login(true)), demonstrating the project already has a safer pattern available.

PoC

Prerequisites: MobileManager plugin enabled and at least one supported login provider (e.g. LoginGoogle) configured with valid keys - both are common production settings for this product.

  1. Victim initiates the mobile OAuth flow:
   GET /plugin/MobileManager/oauth2.php?type=Google
  1. After the victim authorizes at the provider, the server sends:
   HTTP/1.1 302 Found
   Location: oauth2Success.php?user=victim%40example.com&pass=9d7ab4...stored-hash...

This request-line - including the password hash - is written to the web server's access log (default combined format) and to any upstream proxy/CDN log. It also appears in the victim's browser history.

  1. Attacker obtains <HASH> from any of those channels.
  2. Attacker logs in as the victim without knowing the plaintext password:
   curl -i -c cookies.txt \
     'https://target.example.com/objects/login.json.php?user=victim@example.com&pass=<HASH>&encodedPass=1'

Expected response: 200 OK with JSON containing id, user, PHPSESSID, isAdmin, email, and a Set-Cookie: PHPSESSID=... that grants full account access. The attacker can now browse, upload, modify the victim's channel, or - if the victim is an admin - access /mvideos and all admin endpoints.

Impact

  • Full account takeover of any user who has ever logged in through the MobileManager OAuth endpoint.
  • If the victim is an administrator, the attacker gains administrative control of the AVideo instance (user management, plugin config, site-wide content).
  • The exposed hash works indefinitely: it remains valid for as long as the victim does not change their password, so a one-time log/history/referrer capture yields a persistent credential.
  • Passes silently - from the application's perspective, the attacker is just a legitimate login with encodedPass=1 (a flag the product itself uses for mobile-app "remember me" flows).

Recommended Fix

  1. Never place the password hash (or any credential-equivalent material) in a URL. In plugin/MobileManager/oauth2.php, mirror what objects/login.json.php:143-146 already does for the web flow - establish the session server-side and redirect to a URL with no credentials:
php
   $userObject = new User(0, $user, $pass);
   $userObject->login(true);   // server-side session
   header("Location: oauth2Success.php");
  1. Additionally, remove or hard-restrict the encodedPass branch in objects/functions.php:2319-2329. If a "hash-equivalent" credential must exist for the mobile app, replace it with a short-lived, single-use, server-issued bearer token bound to the session, rather than the persistent database hash.
  2. Add a state parameter and CSRF protection on /plugin/MobileManager/oauth2.php so the redirect cannot be initiated from a third-party origin.
  3. For defense-in-depth, strip query strings containing pass= from access-log formats and ensure oauth2Success.php sets Referrer-Policy: no-referrer while it is being deprecated.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Affected Products (CPE)CVE.org

pkg:composer/wwbn_avideo

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy