All vulnerabilities

Servers and applications

GHSA-g3p9-f8wp-3wj4

YPTSocket: expired admin WebSocket tokens still accepted because the localhost exception in verifyTokenSocket() always matches under CLI

Severity
Low 2.7
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Weakness
Insufficient session expiration (CWE-613)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
Sources
Project advisories (GitHub)

Description

verifyTokenSocket() in plugin/YPTSocket/functions.php skipped the 12-hour token expiry check when getRealIpAddr() returned 127.0.0.1. This exception was meant for the CLI worker. But every caller of verifyTokenSocket() runs in a CLI process, and under CLI getRealIpAddr() always returns 127.0.0.1. So the expiry check added by the fix for GHSA-2mg4-pfgx-64cf (CVE-2026-34362) never ran, and expired socket tokens were still accepted.

This affects the opt-in PHP socket server and also the default Node socket server, which validates tokens through the PHP worker (worker.php).

  • plugin/YPTSocket/functions.php — verifyTokenSocket() returned true for "localhost" before the timeout check could reject the token.
  • objects/functions.php — getRealIpAddr() returns 127.0.0.1 first when isCommandLineInterface() is true.
  • Callers: plugin/YPTSocket/Message.php, MessageSQLite.php, MessageSQLiteV2.php, server2.php (PHP socket server) and worker.php (token decryption for the Node socket server).
From WWBN/AVideo's security advisory. Shortened; the full text is there.

Workarounds

Disable the YPTSocket plugin until the update is applied.

Workarounds as given by WWBN/AVideo's security advisory.

Affected software

SoftwareAffected versions
AVideoServers and applications · github:wwbn/avideo
  • Every version up to 29.10.0

About AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP

From its GitHub repository.
GitHub stars
2,115GitHub, 29 Nov 2026
Forks
1,013GitHub, 29 Nov 2026
Latest release
v29.9.0GitHub, 29 Nov 2026
Released
23 Nov 2026GitHub
First published on GitHub
2 Apr 2017GitHub

References