CVE-2026-34362

AVideo's WebSocket Token Never Expires Due to Commented-Out Timeout Validation in verifyTokenSocket()

Published Mar 27, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `verifyTokenSocket()` function in `plugin/YPTSocket/functions.php` has its token timeout validation commented out, causing WebSocket tokens to never expire despite being generated with a 12-hour timeout. This allows captured or legitimately obtained tokens to provide permanent WebSocket access, even after user accounts are deleted, banned, or demoted from admin. Admin tokens grant access to real-time connection data for all online users including IP addresses, browser info, and page locations. Commit 5d5237121bf82c24e9e0fdd5bc1699f1157783c5 fixes the issue.

Analysis

AI-generated

Technical impact

The verifyTokenSocket() function in plugin/YPTSocket/functions.php has its token expiration check commented out, causing WebSocket tokens to never expire even though they are intended to be valid for only twelve hours. As a result, any token that is captured or legitimately obtained grants continuous, unlimited access to the WebSocket service. Admin‑level tokens expose real‑time data for all connected users, including IP addresses, browser details, and page locations, creating a valuable source for profiling or session hijacking. The vulnerability is not a direct code injection or remote execution flaw but enables prolonged unauthorized monitoring of user activity.

Affected Systems

WWBN AVideo, versions up to and including 26.0, suffers from this issue. The affected code resides in plugin/YPTSocket/functions.php within the AVideo codebase. No other versions or vendors are listed as affected.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity, while the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The vulnerability is not included in the CISA Known Exploited Vulnerabilities catalog. The likely attack vector is that an attacker obtains a valid WebSocket token—either by capturing traffic or by compromising a user account—and then uses that token to maintain persistent access. Once the token is in the attacker’s possession, they can continuously monitor real‑time connection data for all users until the token is revoked, the user account is deleted, or the service is otherwise disabled. The flaw does not directly grant filesystem or elevated shell access and requires additional exploitation steps for broader compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest AVideo release that contains the commit fixing the timeout logic or manually apply the commit 5d5237121bf82c24e9e0fdd5bc1699f1157783c5.

Generated by OpenCVE AI on March 31, 2026 at 17:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2mg4-pfgx-64cf AVideo's WebSocket Token Never Expires Due to Commented-Out Timeout Validation in verifyTokenSocket()
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wwbn
Wwbn avideo
Vendors & Products Wwbn
Wwbn avideo
Type Values Removed Values Added
Description WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `verifyTokenSocket()` function in `plugin/YPTSocket/functions.php` has its token timeout validation commented out, causing WebSocket tokens to never expire despite being generated with a 12-hour timeout. This allows captured or legitimately obtained tokens to provide permanent WebSocket access, even after user accounts are deleted, banned, or demoted from admin. Admin tokens grant access to real-time connection data for all online users including IP addresses, browser info, and page locations. Commit 5d5237121bf82c24e9e0fdd5bc1699f1157783c5 fixes the issue.
Title AVideo's WebSocket Token Never Expires Due to Commented-Out Timeout Validation in verifyTokenSocket()
Weaknesses CWE-613
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 31, 2026, 1:30 PM
Reserved
Mar 27, 2026, 1:43 PM
Status
Analyzed
Published
Mar 27, 2026, 5:16 PM
Modified
Oct 26, 2026, 10:10 PM