Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticated user triggers category rename
-
ExploitInject SQL payload in title parameter
-
ExecutionExecute arbitrary SELECT query
-
ImpactAccess 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 | Requires authenticated user account with permission to create or rename categories. Attacker injects malicious SQL through crafted category title value in the fixCleanTitle() method of objects/category.php. No victim interaction needed beyond attacker's own authenticated actions. |
| Impact | Real-world risk is moderate despite the high technical severity of SQL injection. The vulnerability requires admin-level authentication to access category management functions, significantly reducing the attack surface compared to unauthenticated SQLi. No CVSS score or vector is provided in the source data, preventing precise attack complexity assessment. EPSS probability data is absent, and the vulnerability is not listed in CISA KEV, confirming no public exploitation campaigns at time of analysis. A detailed proof-of-concept exists demonstrating UNION-based data exfiltration, lowering exploitation barriers for authenticated attackers. The primary risk scenarios involve compromised admin accounts or malicious insiders who could pivot from limited CMS access to full database extraction. Organizations with strong access controls and admin activity monitoring face lower practical risk than those with weak credential hygiene or shared admin accounts. |
| Exploit ScenarioDerived | An authenticated administrator with category management privileges creates a new category with the title "test' UNION SELECT username,password,3,4,5,6,7,8,9,10 FROM users-- -". The application converts this to a URL slug that preserves the SQL injection payload and inserts it directly into the SELECT query. The resulting UNION injection returns database rows from the users table instead of category records, allowing the attacker to extract all user credentials, email addresses, and profile data. The attacker can then escalate privileges, access private video content, or monetize stolen credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
SQL injection in WWBN AVideo category management allows authenticated administrators to extract database contents including user credentials and private video metadata. The vulnerability resides in objects/category.php where user-supplied category title slugs are concatenated directly into SQL queries without parameterization. A working proof-of-concept demonstrates UNION-based injection to retrieve the users table. Upstream fix available via GitHub commit 994cc2b3d802b819e07e6088338e8bf4e484aae4, though no public exploit identified at time of analysis beyond the documented PoC.
RemediationAI
Apply the upstream fix available in GitHub commit 994cc2b3d802b819e07e6088338e8bf4e484aae4 at https://github.com/WWBN/AVideo/commit/994cc2b3d802b819e07e6088338e8bf4e484aae4. The patch refactors fixCleanTitle() to use parameterized queries with bound parameters instead of string concatenation, eliminating the SQL injection vector. Until patching is possible, restrict category management permissions to only essential trusted administrators, enable comprehensive SQL query logging to detect injection attempts, and consider implementing web application firewall rules to block common SQLi patterns in category title submissions. Review audit logs for suspicious category creation or renaming activity involving SQL metacharacters. Organizations unable to immediately patch should temporarily disable category modification functionality if operationally feasible.
Affected Packages
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
This vulnerability affects the WWBN AVideo PHP application (identified via CPE pkg:composer/wwbn_avideo). The root cause is CWE-89 (SQL Injection) within the fixCleanTitle() static method in objects/category.php. The method constructs SQL SELECT queries by directly interpolating the clean_title parameter (a URL-slugified version of user input) and the id parameter into query strings without using prepared statements or bound parameters. The slug conversion process preserves single-quote characters and other SQL metacharacters, allowing attackers to escape string delimiters and append arbitrary SQL clauses. The vulnerable code passes these unsanitized strings to sqlDAL::readSql(), exposing the entire database to extraction via UNION-based injection techniques.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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
Lifecycle Timeline
2DescriptionCVE.org
Summary
The fixCleanTitle() static method in objects/category.php constructs a SQL SELECT query by directly interpolating both $clean_title and $id into the query string without using prepared statements or parameterized queries. An attacker who can trigger category creation or renaming with a crafted title value can inject arbitrary SQL.
Details
File: objects/category.php
Vulnerable code:
public static function fixCleanTitle($clean_title, $count, $id, $original_title = "")
{
global $global;
$sql = "SELECT * FROM categories WHERE clean_name = '{$clean_title}' ";
if (!empty($id)) {
$sql .= " AND id != {$id} ";
}
$sql .= " LIMIT 1";
$res = sqlDAL::readSql($sql, "", [], true);
// ...
}Both $clean_title (a user-supplied category name after slug conversion) and $id (the category ID being edited) are embedded directly into the SQL string. The $clean_title value derives from user input through the category save workflow - it is the "clean" URL-slug version of whatever category name the user submits. No escaping or parameterization is applied before the value is placed inside single quotes in the query.
PoC
An authenticated admin creates or renames a category with the title:
test' UNION SELECT username,password,3,4,5,6,7,8,9,10 FROM users-- -After slug conversion (which typically only strips spaces and special characters, leaving SQL metacharacters that survive inside single quotes), the backend executes:
SELECT * FROM categories WHERE clean_name = 'test' UNION SELECT username,password,3,4,5,6,7,8,9,10 FROM users-- -' LIMIT 1This returns rows from the users table, enabling full credential exfiltration. The $id concatenation point is also injectable via a crafted numeric+SQL-suffix value if integer validation is absent.
Impact
- Type: SQL Injection (CWE-89)
- Severity: High
- Authentication required: Admin-level (category management), though the same pattern may be reachable via lower-privilege paths depending on plugin configuration
- Impact: Full database read; credentials, private video metadata, user PII accessible via UNION injection
- Fix: Replace direct interpolation with parameterized queries - use
?placeholders and pass$clean_titleand(int)$idas bound parameters
Executive ViewAI
WWBN AVideo contains a SQL injection vulnerability in category management that permits authenticated administrators to bypass application logic and directly access the underlying database, including user credentials and sensitive video metadata. Organizations deploying AVideo for video hosting or content management face potential exposure of user accounts and confidential content if administrative credentials are compromised or misused.
Apply vendor patch. If immediate patching is not feasible, restrict administrative access to AVideo instances via network segmentation (VPN or internal-only access), disable the category management feature if operationally viable, and implement WAF rules to block SQL metacharacters (single quotes, semicolons, UNION keywords) in category title parameters.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
Related Vulnerabilities in Video Platform SQL Injection Vulnerabilities
View all 2In 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
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
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
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
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB