Skip to main content

PHP CVE-2026-33767

HIGH
SQL Injection (CWE-89)
2026-03-26 https://github.com/WWBN/AVideo
7.1
CVSS 4.0 · Vendor: https://github.com/WWBN/AVideo
View

Attack ChainAIDerived

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

  1. Access
    Craft request with malicious videos_id parameter
  2. Delivery
    Inject SQL payload into query string
  3. Exploit
    Bypass partial prepared statement protection
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Extract or modify sensitive database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

Authenticated user account required. Attacker must control the videos_id parameter in a request to the getLike() method in objects/like.php of the affected application to inject arbitrary SQL commands.

Impact

Real-world exploitation risk is significant despite requiring authentication. Any registered user can trigger like/dislike functionality, making the attack surface broad rather than limited to privileged accounts. The proof-of-concept demonstrates trivial UNION-based extraction of user credentials, indicating low attack complexity once authenticated. Without CVSS vector data, precise privilege requirements cannot be confirmed from scoring metrics, but the description indicates standard user authentication suffices. No EPSS score is available for quantitative exploitation probability assessment, and no CISA KEV listing confirms active exploitation. However, publicly available exploit code exists in the form of the documented proof-of-concept, lowering the barrier for opportunistic attackers. The technical impact is severe-full database read access with potential for modification depending on database user privileges. Priority should be high for any deployment with user registration enabled, as the combination of low exploitation barrier (authenticated users are common) and high impact (credential theft, data exfiltration) creates substantial risk despite the authentication prerequisite.

Exploit ScenarioDerived

An authenticated attacker registers a standard user account on an AVideo platform instance. The attacker crafts a like request with a malicious videos_id payload such as '1 UNION SELECT user,password,3,4,5,6,7,8 FROM users-- -' and submits it to the like endpoint. The vulnerable getLike() method constructs the SQL query with the injected payload, executing a UNION attack that returns user credentials instead of like status. The attacker retrieves administrator password hashes, emails, and potentially session tokens, enabling account takeover and further system compromise. Publicly available exploit code exists demonstrating this attack vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 26, 2026

SQL injection in WWBN AVideo objects/like.php allows authenticated users to read and potentially modify the entire database by injecting malicious payloads into the videos_id parameter during like/dislike actions. The vulnerability affects pkg:composer/wwbn_avideo and arises from mixing parameterized queries with direct string concatenation. A proof-of-concept UNION-based injection exists demonstrating credential extraction. Upstream fix available (PR/commit); released patched version not independently confirmed.

RemediationAI

Apply the upstream fix available at commit 0215d3c4f1ee748b8880254967b51784b8ac4080 from the WWBN AVideo repository (https://github.com/WWBN/AVideo/commit/0215d3c4f1ee748b8880254967b51784b8ac4080). The patch replaces string concatenation with proper parameterized binding for the videos_id value. Consult the GitHub security advisory at https://github.com/WWBN/AVideo/security/advisories/GHSA-fj74-qxj7-r3vc for vendor guidance on applying the fix. Until patching is completed, consider implementing input validation at the application layer to restrict videos_id to integer values only, though this is an interim measure and not a substitute for the proper fix. Database user privilege restriction can limit impact by preventing data modification, but read access exploitation remains viable.

Affected Packages

composer wwbn/avideo fix: 26.0

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 resides in the getLike() method of objects/like.php within the WWBN AVideo platform (pkg:composer/wwbn_avideo). The code implements hybrid SQL construction where users_id uses prepared statement placeholders but videos_id is directly concatenated without sanitization or type-casting. This violates CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) principles. While the codebase correctly uses parameterized queries elsewhere in the same file, this specific method creates an inconsistent security boundary. The sqlDAL::readSql wrapper accepts a prepared statement format but only binds the users_id parameter, leaving videos_id vulnerable to injection. This represents a classic second-order SQL injection vector where user-controllable data from video identification flows unsanitized into database queries.

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

Vendor (https://github.com/WWBN/AVideo) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/WWBN/AVideo) · only source for this CVE.

CVSS VectorVendor: https://github.com/WWBN/AVideo

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 26, 2026 - 18:15 nvd
Patch available
CVE Published
Mar 26, 2026 - 18:12 nvd
HIGH 7.1

DescriptionCVE.org

Summary

In objects/like.php, the getLike() method constructs a SQL query using a prepared statement placeholder (?) for users_id but directly concatenates $this->videos_id into the query string without parameterization. An attacker who can control the videos_id value (via a crafted request) can inject arbitrary SQL, bypassing the partial prepared-statement protection.

Details

File: objects/like.php

Vulnerable code:

php
$sql = "SELECT * FROM likes WHERE users_id = ? AND videos_id = ".$this->videos_id." LIMIT 1;";
$res = sqlDAL::readSql($sql, "i", [$this->users_id]);

The query mixes a parameterized placeholder for users_id with raw string concatenation for videos_id. The $this->videos_id value originates from user-supplied request input (typically a POST/GET parameter identifying the video being liked/disliked) and is not cast to integer or validated before being embedded in the SQL string.

All other queries in the same file correctly use ? placeholders for both columns:

php
// Correct pattern used elsewhere:
$sql = "SELECT count(*) as total FROM likes WHERE videos_id = ? AND like = 1";

The inconsistency means any attacker who can submit a like/dislike action with a crafted videos_id can inject SQL. Since like/dislike actions are typically available to any authenticated user, the attack surface is broad.

PoC

An attacker sends a like request with an injected videos_id:

POST /objects/likeAjax.json.php
videos_id=1 UNION SELECT user,password,3,4,5,6,7,8 FROM users-- -

This causes the backend to execute:

sql
SELECT * FROM likes WHERE users_id = 1 AND videos_id = 1 UNION SELECT user,password,3,4,5,6,7,8 FROM users-- - LIMIT 1;

Result: full database read - user credentials, emails, private content, and any other data accessible to the MySQL user.

Impact

  • Severity: High
  • Authentication required: Yes (must be logged in to like a video), but all registered users qualify
  • Impact: Full database read via UNION-based injection; potential for data modification or deletion depending on DB user privileges
  • Fix: Replace the concatenation with a second ? placeholder and pass $this->videos_id as a bound integer parameter

Executive ViewAI

Why It Matters

WWBN AVideo, a self-hosted video platform, contains a SQL injection vulnerability in its like/dislike functionality that allows authenticated users to read and modify the entire database, including extracting credentials. Organizations using WWBN AVideo require immediate patching to prevent unauthorized data access and manipulation by internal or compromised user accounts.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: implement Web Application Firewall rules to block SQL injection patterns in the videos_id parameter; restrict database user permissions to least-privilege principles; enable database query logging and alerting for anomalous SQL activity; consider disabling the like/dislike feature temporarily until patched.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% 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 Yes
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
High
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

pkg:composer/wwbn_avideo

Related Vulnerabilities in Video Platform SQL Injection Vulnerabilities

View all 2

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