[+] Title: AjentiCP Dir Name Based Stored XSS <= v22.214.171.124
[+] Author: Numan OZDEMIR (https://infinitumit.com.tr)
[+] Vendor Homepage: ajenti.org
[+] Version: Up to v126.96.36.199
[+] CVE: CVE-2018-18548
[+] Discovered by Numan OZDEMIR in InfinitumIT Labs
[+] firstname.lastname@example.org - email@example.com
Normally an attacker cant intervene to Ajenti without Ajenti privileges.
But with this vulnerability, if attacker can create a folder (may be by a web app vulnerability) he can run
So this vulnerability makes high risk.
[~] How to Reproduce:
1)- Create a directory as named xss payload. Like, im<img src onerror=alert(1337)>dir
2)- Open this directory in File Manager tool in Ajenti server admin panel.
// for secure days...