GHSA-3fpm-8rjr-v5mc
GHSA-72h5-39r7-r26j
GHSA-c38g-mx2c-9wf2
GHSA-hv36-p4w4-6vmj
GHSA-r9w3-57w2-gch2
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Lifecycle Timeline
4DescriptionGitHub Advisory
Summary
An unauthenticated server-side request forgery vulnerability in plugin/Live/test.php allows any remote user to make the AVideo server send HTTP requests to arbitrary URLs. This can be used to probe localhost/internal services and, when reachable, access internal HTTP resources or cloud metadata endpoints.
Details
The endpoint accepts $_REQUEST['statsURL'] and only checks that it starts with http:
$statsURL = $_REQUEST['statsURL'];
if (empty($statsURL) || $statsURL == "php://input" || !preg_match("/^http/", $statsURL)) {
exit;
}It then calls:
$result = url_get_contents($statsURL, 2);Inside the same file, url_get_contents() performs a real outbound request with file_get_contents() when allow_url_fopen is enabled:
$tmp = file_get_contents($url, false, $context);
_log('file_get_contents:: '.htmlentities($tmp));There is:
- no authentication check
- no allowlist of trusted stats URLs
- no SSRF-safe URL validation
- reflected response/error output
Validated on source:
PoC
Target used during validation:
http://127.0.0.1:80- Probe a closed localhost port:
curl -s \
'http://127.0.0.1:80/plugin/Live/test.php?statsURL=http://127.0.0.1:1/'Observed response excerpt:
Starting try to get URL http://127.0.0.1:1/
url_get_contents start timeout=2
Warning: file_get_contents(http://127.0.0.1:1/): Failed to open stream: Connection refused
file_get_contents fail return an empty content
FAIL- Probe the local web service itself:
curl -s \
'http://127.0.0.1:80/plugin/Live/test.php?statsURL=http://127.0.0.1:80/'This returns upstream connection details from the server-side request and confirms the endpoint can target local/internal HTTP services.
Impact
This is an unauthenticated SSRF vulnerability affecting any deployment that exposes plugin/Live/test.php.
An attacker can:
- probe localhost and internal network services
- distinguish open and closed ports
- target cloud metadata endpoints if reachable
- retrieve reflected content from internal HTTP services when the upstream responds with a body
The server and the internal network reachable from it are impacted. No unauthenticated code execution was validated from this issue on the tested environment.
remediation
The safest fix is to remove plugin/Live/test.php from production deployments.
If it must remain:
- require admin authentication
- only allow requests to explicitly configured Live stats URLs
- block localhost, RFC1918, link-local, and metadata IP ranges
- stop reflecting fetched bodies and raw upstream errors to the client
Minimal hardening example:
require_once dirname(__FILE__) . '/../../videos/configuration.php';
if (!User::isAdmin()) {
http_response_code(403);
exit('Forbidden');
}
$statsURL = $_REQUEST['statsURL'] ?? '';
if (empty($statsURL) || !isSSRFSafeURL($statsURL)) {
exit('Unsafe URL');
}Remove wget Fallback Entirely
The wget fallback provides no unique value over file_get_contents + curl and introduces shell exposure. Remove lines 94-119 of test.php.
If wget must remain, escape the argument:
// BEFORE (vulnerable)
$cmd = "wget --tries=1 {$url} -O {$filename} --no-check-certificate";
// AFTER (safe)
$cmd = "wget --tries=1 " . escapeshellarg($url) . " -O " . escapeshellarg($filename) . " --no-check-certificate";Defense in Depth
- Move the file behind the admin panel URL prefix (Apache/Nginx deny rule for public access)
- Add
isSSRFSafeURL()check (already exists inobjects/functions.php) before any fetch - Block outbound connections from the web process to RFC1918 addresses at the firewall/egress level
AnalysisAI
An unauthenticated server-side request forgery (SSRF) vulnerability exists in AVideo's Live plugin test.php endpoint that allows remote attackers to force the server to send HTTP requests to arbitrary URLs. The vulnerability affects AVideo installations with the Live plugin enabled and can be exploited to probe internal network services, access cloud metadata endpoints, and retrieve content from internal HTTP resources. A proof-of-concept has been published demonstrating localhost service enumeration, and the vulnerability requires no authentication or user interaction to exploit.
Technical ContextAI
This vulnerability affects the AVideo platform (pkg:composer/wwbn_avideo), specifically in plugin/Live/test.php. The root cause is CWE-918 (Server-Side Request Forgery), where the statsURL parameter accepts user-controlled input with insufficient validation—only checking if the URL starts with 'http' via a weak regex pattern. The endpoint passes this input directly to url_get_contents() which uses PHP's file_get_contents() function when allow_url_fopen is enabled, creating a direct SSRF vector. The implementation lacks authentication checks, URL allowlisting, RFC1918/link-local IP filtering, and inappropriately reflects server-side error messages and response bodies back to the attacker. Additionally, a wget fallback mechanism in the same file suffers from command injection risk due to unsanitized shell argument usage.
RemediationAI
The primary remediation is to remove plugin/Live/test.php from production deployments entirely as this test endpoint should not be exposed in production environments. If removal is not feasible, implement mandatory admin authentication using User::isAdmin() checks, restrict statsURL parameters to an explicit allowlist of trusted Live stats endpoints, and implement SSRF-safe URL validation using the existing isSSRFSafeURL() function from objects/functions.php to block localhost, RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local addresses (169.254.0.0/16), and stop reflecting fetched response bodies and error messages to clients. Remove the wget fallback code (lines 94-119) completely or at minimum apply escapeshellarg() to all shell arguments if it must remain. As defense in depth, move the file behind admin panel URL prefix restrictions via Apache/Nginx configuration and implement network-level egress filtering to block outbound connections from the web server process to internal IP ranges. Consult the full remediation guidance at https://github.com/WWBN/AVideo/security/advisories/GHSA-3fpm-8rjr-v5mc.
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-13916