Mar 23, 2026·7 min read·70 visits
An unauthenticated endpoint in AVideo's Live plugin improperly validates user-supplied URLs, enabling Critical SSRF and OS Command Injection (RCE) via a vulnerable `wget` system call.
WWBN AVideo versions up to and including 26.0 suffer from a critical unauthenticated Server-Side Request Forgery (SSRF) and OS Command Injection vulnerability in the Live plugin's test endpoint. This flaw permits remote attackers to probe internal networks, exfiltrate cloud metadata, and execute arbitrary system commands.
WWBN AVideo is an open-source video platform that incorporates various plugins to extend its functionality. The Live plugin, designed to manage livestreaming features, includes a testing script located at plugin/Live/test.php. This specific endpoint exposes a critical attack surface due to its lack of authentication requirements and improper handling of user-supplied input.
The vulnerability manifests as a combination of Server-Side Request Forgery (CWE-918) and OS Command Injection (CWE-78). By supplying a crafted payload to the statsURL parameter, an external attacker can manipulate the server into initiating unauthorized network connections. These connections bypass external firewall perimeters, allowing the attacker to interact directly with internal infrastructure.
Furthermore, the script implements a flawed fallback mechanism that interacts directly with the host operating system. When the application processes the manipulated input, it interpolates the data into a shell command without adequate sanitization. This secondary vector escalates the severity of the flaw from internal reconnaissance to arbitrary remote code execution on the underlying server.
The root cause of the vulnerability resides in the inadequate input validation of the statsURL HTTP request parameter within the plugin/Live/test.php script. The application extracts this parameter directly from the $_REQUEST superglobal array, establishing a direct conduit from user input to sensitive internal functions.
The initial validation sequence employs a basic regular expression (/^http/) to verify the parameter's format. This check strictly mandates that the string begins with "http", but it completely omits verification of the destination hostname, IP address, or network segment. The absence of an explicit deny-list for RFC1918 internal IP ranges or loopback addresses creates the foundational SSRF condition.
Following the superficial format check, the application passes the user-controlled input to url_get_contents(), a custom wrapper utilizing PHP's native file_get_contents() function. If the PHP environment has allow_url_fopen enabled, the server executes an HTTP request to the attacker-specified destination, returning the response context to the application.
A secondary, more critical logical error exists within a fallback execution path in the same file. The script attempts to retrieve the URL using the system wget binary via the exec() function. The application directly concatenates the unvalidated $url variable into the command string without utilizing escapeshellarg() or escapeshellcmd(), yielding a classic OS Command Injection vulnerability.
An examination of the vulnerable implementation in plugin/Live/test.php reveals the exact mechanism of the failure. The script processes the input and executes the flawed regex check before utilizing the variable in high-risk function calls. The following snippet demonstrates the insecure implementation:
$statsURL = $_REQUEST['statsURL'];
// Inadequate validation: only checks prefix
if (empty($statsURL) || $statsURL == "php://input" || !preg_match("/^http/", $statsURL)) {
exit;
}
// SSRF vector
$content = url_get_contents($statsURL, 2);
// Command Injection vector
$cmd = "wget --tries=1 {$statsURL} -O {$filename} --no-check-certificate";
exec($cmd);The patch introduced in commit 1e6cf03e93b5a5318204b010ea28440b0d9a5ab3 systematically eliminates both vulnerability vectors. The development team replaced the superficial regex check with a robust validation function, isSSRFSafeURL(), which actively prevents connections to restricted internal IP spaces and local loopback interfaces.
Additionally, the patch neutralizes the command injection vector by implementing proper shell escaping mechanisms. The application now processes the user input through escapeshellarg() before string interpolation, ensuring the operating system treats the input strictly as a literal string argument rather than an executable command sequence.
$statsURL = $_REQUEST['statsURL'];
// Robust SSRF mitigation
if (empty($statsURL) || $statsURL == "php://input" || !isSSRFSafeURL($statsURL)) {
exit;
}
// Mitigated Command Injection via escaping
$safeUrl = escapeshellarg($statsURL);
$cmd = "wget --tries=1 {$safeUrl} -O {$filename} --no-check-certificate";
exec($cmd);Exploiting this vulnerability requires zero authentication and relies entirely on standard network access to the target AVideo application. An attacker initiates the exploit chain by transmitting a crafted HTTP GET request specifically targeting the plugin/Live/test.php endpoint.
To conduct internal network reconnaissance, the attacker supplies a target internal IP address and port combination within the statsURL parameter. By analyzing the time variance in the server's response or inspecting reflected error messages, the attacker systematically enumerates active internal services, such as database instances or internal management interfaces.
# Internal Port Scanning (SSRF)
curl -s 'http://<AVideo-Server>/plugin/Live/test.php?statsURL=http://127.0.0.1:6379/'
# Cloud Metadata Exfiltration (SSRF)
curl -s 'http://<AVideo-Server>/plugin/Live/test.php?statsURL=http://169.254.169.254/latest/meta-data/iam/security-credentials/'To escalate the SSRF into OS Command Injection, the attacker structures the payload to bypass the initial http prefix check while simultaneously injecting shell termination metacharacters. By appending a semicolon immediately following a valid URL format, the attacker terminates the intended wget command and appends arbitrary operating system commands for immediate execution.
# Arbitrary Command Execution (RCE)
curl -s "http://<AVideo-Server>/plugin/Live/test.php?statsURL=http://127.0.0.1;id;uname%20-a"The convergence of Server-Side Request Forgery and OS Command Injection results in a critical security compromise. The SSRF component directly violates the confidentiality of the target environment by enabling external adversaries to map internal network topographies and interact with non-public services.
In environments deployed on cloud infrastructure such as AWS, GCP, or Azure, the SSRF primitive serves as a direct conduit for metadata exfiltration. Attackers routinely target the 169.254.169.254 endpoint to harvest temporary Identity and Access Management (IAM) credentials, frequently leading to comprehensive cloud environment takeover.
The command injection capability provides the attacker with execution privileges matching the context of the web server process, typically www-data or apache. This level of system access permits the modification of application source code, retrieval of database credentials from configuration files, and the installation of persistent backdoors.
The CVSS v3.1 base score of 9.3 accurately quantifies the severe nature of this vulnerability. The lack of required privileges, absence of user interaction, and remote network exploitability categorize this flaw as a high-priority remediation item for any organization hosting WWBN AVideo infrastructure.
Detecting exploitation attempts necessitates continuous monitoring of web server access logs for anomalous requests targeting the Live plugin component. Security teams must configure alerting mechanisms for any inbound GET or POST requests directed toward the /plugin/Live/test.php URI path.
The content of the statsURL query parameter serves as the primary indicator of malicious activity. Security Information and Event Management (SIEM) rules should flag requests where this parameter contains internal IP addresses, loopback addresses (127.0.0.1, localhost), or the standard cloud metadata service IP (169.254.169.254).
Command injection exploitation attempts leave distinct artifacts within the request string. The presence of shell metacharacters such as semicolons, pipe characters, ampersands, or backticks appended to the URL value strongly indicates active exploitation of the OS command injection vector.
# Nuclei Detection Snippet
id: CVE-2026-33502-SSRF
info:
name: WWBN AVideo Unauthenticated SSRF
severity: critical
http:
- method: GET
path:
- "{{BaseURL}}/plugin/Live/test.php?statsURL=http://{{interactsh-url}}"
matchers:
- type: word
part: interactsh_protocol
words:
- "http"The absolute and definitive remediation for this vulnerability requires upgrading the WWBN AVideo platform to version 26.1 or a more recent stable release. The updated software contains the necessary cryptographic patches, including the isSSRFSafeURL() validation routine and standard shell argument escaping mechanisms.
Administrators operating environments where immediate patching is prohibited by change control policies must implement interim mitigations at the web server tier. Configuring Nginx or Apache access control directives to explicitly deny external requests targeting plugin/Live/test.php neutralizes the remote attack vector while preserving core application functionality.
In scenarios where the testing features of the Live plugin are entirely unnecessary for production operations, administrators should securely delete the plugin/Live/test.php file from the filesystem. Removing the vulnerable code permanently eliminates the associated risk without requiring complex configuration changes.
Implementing strict egress network filtering serves as an essential defense-in-depth measure. Configuring host-based firewalls to prevent the web server process from initiating outbound HTTP connections to RFC1918 internal IP ranges and the 169.254.169.254 metadata address prevents the realization of the SSRF impact, even if the application remains unpatched.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
AVideo WWBN | <= 26.0 | 26.1 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-918 (SSRF), CWE-78 (OS Command Injection) |
| Attack Vector | Network (Unauthenticated) |
| CVSS v3.1 Score | 9.3 (Critical) |
| EPSS Score | 0.00045 (15th Percentile) |
| Impact | Remote Code Execution, Data Exfiltration |
| Exploit Status | Proof of Concept (PoC) Available |
| CISA KEV | Not Listed |
The software does not properly validate an input URL before executing an outbound network request, nor does it sanitize input before passing it to an OS command execution function.
Gradle versions prior to 8.14.4 and 9.3.0 fail to classify certain fatal network transport exceptions, such as UnknownHostException and NoHttpResponseException, as critical failures during dependency resolution. When these exceptions occur and retry thresholds are exhausted, Gradle fails to disable the unreachable primary repository and instead falls through to subsequent repositories configured in the build script. An attacker capable of disrupting connectivity to an upstream repository can force the build tool to fetch malicious artifacts with matching coordinates from a downstream, untrusted repository.
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.
CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.
CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.
A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.