Skip to main content

CVE-2025-6100: Open-Video-CMS SQL Injection Vulnerability

CVE-2025-6100 is a critical SQL injection flaw in Open-Video-CMS 1.0 affecting the /v1/video/list endpoint. Attackers can manipulate the sort parameter to inject malicious SQL code. This article covers technical details, impact, and mitigation.

Published:

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-6100 Overview

CVE-2025-6100 is a SQL injection vulnerability in realguoshuai open-video-cms version 1.0. The flaw resides in the /v1/video/list endpoint, where the sort parameter is incorporated into a database query without proper sanitization. Remote attackers with low-level privileges can manipulate the sort argument to inject arbitrary SQL statements. The issue is classified under CWE-74: Improper Neutralization of Special Elements in Output. A public proof-of-concept has been disclosed, and the vendor did not respond to disclosure attempts.

Critical Impact

Authenticated remote attackers can inject SQL through the sort parameter on /v1/video/list, potentially exposing or altering backend database contents.

Affected Products

  • realguoshuai open-video-cms 1.0
  • Deployments exposing the /v1/video/list endpoint
  • Any downstream integrations consuming the vulnerable API

Discovery Timeline

  • 2025-06-16 - CVE-2025-6100 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-6100

Vulnerability Analysis

The vulnerability affects the HTTP request handler for /v1/video/list in open-video-cms 1.0. The sort query parameter is passed into a backend SQL statement without parameterization or input validation. An attacker supplying crafted SQL syntax in sort can alter query logic, extract data, or manipulate results returned by the API.

The weakness falls under [CWE-74], covering improper neutralization of special elements. Exploitation requires low privileges, no user interaction, and can be performed over the network. The EPSS probability currently sits at 0.302%, indicating limited observed exploitation activity to date.

Because the vendor did not respond to coordinated disclosure, no official fix exists. Public proof-of-concept material is available in the Bemcliu CVE GitHub repository, which lowers the barrier to exploitation attempts.

Root Cause

The application concatenates the user-controlled sort value directly into a SQL ORDER BY clause or equivalent query fragment. Parameterized queries cannot bind identifiers like column names, so developers often substitute raw strings, creating injection surface. The absence of an allowlist for sortable fields allows arbitrary SQL fragments to pass through.

Attack Vector

An authenticated attacker sends an HTTP request to /v1/video/list with a malicious sort value. The injected payload modifies the backend SQL statement to perform union-based extraction, boolean inference, or time-based blind injection. The attack is network-reachable and requires no user interaction. See the VulDB entry for #312569 and the public PoC documentation for additional technical context.

No verified exploit code is republished here. The referenced PoC repository demonstrates the injection pattern against the vulnerable endpoint.

Detection Methods for CVE-2025-6100

Indicators of Compromise

  • Requests to /v1/video/list containing SQL meta-characters in the sort parameter (for example, single quotes, parentheses, UNION, SELECT, SLEEP, or comment sequences)
  • Unusually long or encoded values supplied to sort
  • Database error messages or 500-series responses correlated with /v1/video/list traffic
  • Spikes in query latency on backend database servers tied to video listing operations

Detection Strategies

  • Deploy web application firewall (WAF) signatures that flag SQL injection patterns in query parameters for the /v1/video/list route
  • Enable database query logging and alert on anomalous queries originating from the open-video-cms application user
  • Correlate authenticated session identifiers with injection attempts to identify compromised accounts

Monitoring Recommendations

  • Capture full HTTP request bodies and query strings for the /v1/video API tree and retain them in a central log store
  • Baseline normal values for the sort parameter and alert on deviations such as non-alphanumeric content
  • Monitor outbound database connections for unexpected data volumes that may indicate exfiltration

How to Mitigate CVE-2025-6100

Immediate Actions Required

  • Restrict network access to the open-video-cms management API to trusted administrators until a patch is available
  • Implement a WAF rule that rejects requests to /v1/video/list where the sort parameter contains characters outside an allowlist of column names
  • Rotate database credentials used by the application and reduce the database account's privileges to the minimum required
  • Audit database logs for prior exploitation attempts referencing the vulnerable endpoint

Patch Information

No vendor patch is available. The maintainer of realguoshuai open-video-cms did not respond to disclosure. Organizations running version 1.0 should treat the deployment as unsupported and plan a migration or implement compensating controls. Track updates through the VulDB advisory.

Workarounds

  • Apply a reverse-proxy filter that validates the sort parameter against a fixed list of permitted sort fields
  • Modify the application source to replace string concatenation with an allowlisted mapping between sort values and SQL column identifiers
  • Disable the /v1/video/list endpoint if it is not required for production use
  • Enforce authentication rate limits to slow blind-injection attempts
bash
# Example NGINX allowlist for the sort parameter
location /v1/video/list {
    if ($arg_sort !~ "^(created_at|updated_at|title|views)$") {
        return 400;
    }
    proxy_pass http://open_video_cms_backend;
}

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

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.