Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33025

CVE-2026-33025: Wwbn Avideo-encoder SQLi Vulnerability

CVE-2026-33025 is a SQL injection flaw in Wwbn Avideo-encoder that exploits the getSqlFromPost() method to manipulate ORDER BY clauses. This article covers technical details, affected versions, impact, and mitigation.

Published: March 27, 2026

CVE-2026-33025 Overview

CVE-2026-33025 is a SQL Injection vulnerability affecting the AVideo video-sharing platform. The vulnerability exists in the getSqlFromPost() method within Object.php, where the $_POST['sort'] array keys are used directly as SQL column identifiers inside an ORDER BY clause. Although real_escape_string() was applied, this function only escapes string-context characters (quotes, null bytes) and provides no protection for SQL identifiers, making it entirely ineffective in this context.

Critical Impact

Authenticated attackers can exploit this SQL Injection vulnerability to manipulate database queries, potentially leading to unauthorized data access and data manipulation through the ORDER BY clause injection point.

Affected Products

  • wwbn avideo-encoder (versions prior to 8.0)

Discovery Timeline

  • 2026-03-20 - CVE CVE-2026-33025 published to NVD
  • 2026-03-24 - Last updated in NVD database

Technical Details for CVE-2026-33025

Vulnerability Analysis

This SQL Injection vulnerability demonstrates a common security misconception regarding the use of real_escape_string() for SQL injection prevention. The function is designed to escape special characters in string literals by handling quotes and null bytes. However, when user input is used as a SQL identifier (such as a column name in an ORDER BY clause), escaping string characters provides no security benefit.

The vulnerable code in the getSqlFromPost() method directly incorporates user-controlled array keys from $_POST['sort'] into the ORDER BY clause of SQL queries. An attacker with low privileges can manipulate these sort parameters to inject arbitrary SQL syntax, potentially extracting sensitive information or modifying query behavior.

The attack surface is network-accessible and requires only low-level authentication, with no user interaction needed for exploitation. The vulnerability impacts both confidentiality and integrity of data, though availability appears to remain unaffected.

Root Cause

The root cause is improper input validation of SQL identifiers. The developers incorrectly assumed that real_escape_string() would sanitize column names used in ORDER BY clauses. SQL identifiers require different validation than string literals—specifically, they should be validated against a whitelist of allowed column names or restricted to alphanumeric characters and underscores only.

Attack Vector

The attack is conducted over the network by an authenticated user sending malicious POST requests to endpoints that process sorting parameters (such as queue.json.php or index.php). The attacker crafts the sort[*] array keys to include SQL metacharacters that escape the intended column identifier context, allowing injection of arbitrary SQL clauses.

php
// Vulnerable code (before patch) - Source: GitHub Security Advisory
if (!empty($_POST['sort'])) {
    $orderBy = [];
    foreach ($_POST['sort'] as $key => $value) {
        /**
         * @var array $global
         */
        $key = $global['mysqli']->real_escape_string($key);
        $value = $global['mysqli']->real_escape_string($value);
        $orderBy[] = " {$key} {$value} ";
    }
    $sql .= " ORDER BY " . implode(",", $orderBy);
}

Source: GitHub Commit Changes

Detection Methods for CVE-2026-33025

Indicators of Compromise

  • Unusual characters in sort[*] POST parameters including SQL metacharacters such as semicolons, parentheses, quotes, or comment sequences
  • Error logs containing SQL syntax errors related to ORDER BY clauses
  • Unexpected database query patterns or execution times from the queue view endpoints
  • POST requests to queue.json.php or index.php with abnormally long or complex sort parameter keys

Detection Strategies

  • Deploy Web Application Firewall (WAF) rules to detect and block POST requests where sort[*] keys contain characters outside the alphanumeric and underscore character set [A-Za-z0-9_]
  • Implement SQL query monitoring to flag ORDER BY clauses with unexpected syntax patterns
  • Review application logs for repeated parameter manipulation attempts targeting sort functionality

Monitoring Recommendations

  • Enable detailed logging for all requests to queue.json.php and index.php endpoints
  • Monitor database query logs for anomalous ORDER BY clause constructions
  • Set up alerts for SQL error messages that indicate injection attempts
  • Track authentication patterns to identify potentially compromised accounts being used for exploitation

How to Mitigate CVE-2026-33025

Immediate Actions Required

  • Upgrade AVideo to version 8.0 or later, which contains the security fix
  • Apply WAF rules to block POST requests where any sort[*] key contains characters outside [A-Za-z0-9_]
  • Restrict access to the queue view (queue.json.php, index.php) to trusted IP ranges only as an interim measure

Patch Information

The vulnerability has been fixed in AVideo version 8.0. The fix replaces the ineffective real_escape_string() sanitization with proper identifier validation using preg_replace() to allow only alphanumeric characters and underscores. Additionally, the sort direction value is now validated against a strict whitelist containing only asc and desc values.

Review the GitHub Security Advisory GHSA-5qvj-5h75-27pj for complete details on the vulnerability and fix.

Workarounds

  • Implement a WAF rule to validate that all sort[*] parameter keys match the pattern ^[A-Za-z0-9_]+$
  • Restrict network access to affected endpoints (queue.json.php, index.php) to trusted IP addresses or internal networks only
  • If possible, disable the sorting functionality entirely until the patch can be applied
php
// Patched code - proper identifier sanitization
if (!empty($_POST['sort'])) {
    $orderBy = [];
    foreach ($_POST['sort'] as $key => $value) {
        // Prevent SQL injection: allow only alphanumeric characters and underscores in column names
        $key = preg_replace('/[^a-zA-Z0-9_]/', '', $key);
        // Restrict sort direction to a strict whitelist
        $value = strtolower(trim($value));
        if (!in_array($value, ['asc', 'desc'])) {
            $value = 'asc';
        }
        if (!empty($key)) {
            $orderBy[] = " `{$key}` {$value} ";
        }
    }
    $sql .= " ORDER BY " . implode(",", $orderBy);
}

Source: GitHub Commit Changes

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechWwbn Avideo Encoder

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Commit Changes

  • GitHub Security Advisory GHSA-5qvj-5h75-27pj
  • Related CVEs
  • CVE-2026-33024: Wwbn Avideo-encoder SSRF Vulnerability

  • CVE-2026-29058: Wwbn Avideo-encoder RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English